فهرست منبع

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

hwjmyz 10 ماه پیش
والد
کامیت
4d70663619
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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;
 };