浏览代码

禾雅堂资料库开放

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()