Jelajahi Sumber

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

hwjmyz 1 tahun lalu
induk
melakukan
4d70663619
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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;
 };