Sfoglia il codice sorgente

[Pref 0000] 去除无用的系统功能入口

houzekong 1 mese fa
parent
commit
395aa2d6f8
2 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. 1 1
      src/settings/projectSetting.ts
  2. 4 4
      src/views/system/role/index.vue

+ 1 - 1
src/settings/projectSetting.ts

@@ -21,7 +21,7 @@ const { themeColor, headerBgColor, sideBgColor, split, mode } = getConfigByMenuT
 // ! 改动后需要清空浏览器缓存
 const setting: ProjectConfig = {
   // 是否显示SettingButton
-  showSettingButton: true,
+  showSettingButton: false,
 
   // 是否显示主题切换按钮
   showDarkModeToggle: false,

+ 4 - 4
src/views/system/role/index.vue

@@ -157,10 +157,10 @@
         label: '用户',
         onClick: handleUser.bind(null, record),
       },
-      {
-        label: '授权',
-        onClick: handlePerssion.bind(null, record),
-      },
+      // {
+      //   label: '授权',
+      //   onClick: handlePerssion.bind(null, record),
+      // },
     ];
   }