Ver Fonte

撤销掉临时改动的代码使其与主版本的一致

hwjmyz há 10 meses atrás
pai
commit
4d70663619
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Web/src/views/system/dict/index.vue

+ 1 - 1
Web/src/views/system/dict/index.vue

@@ -240,7 +240,7 @@ const handleDictType = (row: any, event: any, column: any) => {
 
 // 判断是否有权限操作
 const hasPermission = (row: any) => {
-	//if (row.code?.toLowerCase().endsWith('enum')) return false;
+	if (row.code?.toLowerCase().endsWith('enum')) return false;
 	return row?.sysFlag === 2 || userInfo.accountType === AccountTypeEnum.NUMBER_999;
 };