소스 검색

禾雅堂资料库开放

yuwenjun1997 2 년 전
부모
커밋
3df51bb405
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 10 0
      layouts/app-normal.vue

+ 10 - 0
layouts/app-normal.vue

@@ -119,6 +119,16 @@ export default {
       ],
     }
   },
+  created() {
+    if (this.authUserId === 15) {
+      this.list.splice(1, 0, {
+        id: 2,
+        name: '云资料库',
+        path: '/docs/0',
+        icon: 'icon-doc',
+      })
+    }
+  },
   mounted() {
     this.responseWidth()
     this.initPageData()