🐛 Fixing a bug. close #3540 系统类字典编辑提示文案错误
This commit is contained in:
1 parent
b66dadc64b
commit
262a2971ea
1 file changed
+1
-1
+1
-1
@@ -71,7 +71,7 @@ public class SysDictItemServiceImpl extends ServiceImpl<SysDictItemMapper, SysDi
|
||||
SysDict dict = dictService.getById(item.getDictId());
|
||||
// 系统内置
|
||||
if (DictTypeEnum.SYSTEM.getType().equals(dict.getSystemFlag())) {
|
||||
return R.failed("系统内置字典项目不能删除");
|
||||
return R.failed("系统内置字典项目不能编辑");
|
||||
}
|
||||
return R.ok(this.updateById(item));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user