cyy 1 год назад
Родитель
Сommit
642dc6126b
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      src/views/system/dashboard/index.vue

+ 3 - 2
src/views/system/dashboard/index.vue

@@ -167,7 +167,7 @@ import TreeUtils from '@/utils/tree'
 import i18n from '@/utils/i18n' // Internationalization 国际化
 import IbpsAvatar from '@/components/ibps-avatar'
 import NoticeDialog from '@/views/platform/notice/edit'
-// import menu from './menu.json'
+import menu from './menu.json'
 import { findAllByCurrUserId } from '@/api/platform/system/desktop'
 
 // 透明图片
@@ -251,7 +251,8 @@ export default {
         this.userInfo.employee.jiNengZhiCheng !== 'inside' &&
         this.userInfo.employee.isSuper === 'N'
       ) {
-        this.dashboards = this.outList
+        this.dashboards = menu
+        // this.dashboards = this.outList
         if (this.$utils.isNotEmpty(this.dashboards)) {
           const activeDashboards = []
           this.dashboards.forEach(d => {