fix: 提示
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -467,11 +467,11 @@ const drawerBtnClick = async (btn, info) => { | ... | @@ -467,11 +467,11 @@ const drawerBtnClick = async (btn, info) => { |
| 467 | } | 467 | } |
| 468 | if (!(info.fieldTypeCode == 'int' || info.fieldTypeCode == 'decimal' || info.fieldTypeCode == 'tinyint')) { | 468 | if (!(info.fieldTypeCode == 'int' || info.fieldTypeCode == 'decimal' || info.fieldTypeCode == 'tinyint')) { |
| 469 | if (info.desensitiveRuleCode == 'ROUNDING') { | 469 | if (info.desensitiveRuleCode == 'ROUNDING') { |
| 470 | proxy.$ElMessage.error('数值类型字段的脱敏规则不能设置取整'); | 470 | proxy.$ElMessage.error('非数值类型字段的脱敏规则不能设置取整'); |
| 471 | return; | 471 | return; |
| 472 | } | 472 | } |
| 473 | if (info.desensitiveRuleCode == 'RANGEREPLACE') { | 473 | if (info.desensitiveRuleCode == 'RANGEREPLACE') { |
| 474 | proxy.$ElMessage.error('数值类型字段的脱敏规则不能设置区间替换'); | 474 | proxy.$ElMessage.error('非数值类型字段的脱敏规则不能设置区间替换'); |
| 475 | return; | 475 | return; |
| 476 | } | 476 | } |
| 477 | } | 477 | } | ... | ... |
-
Please register or sign in to post a comment