Ver Fonte

禾雅堂资料库开放

yuwenjun1997 há 2 anos atrás
pai
commit
3df51bb405
1 ficheiros alterados com 10 adições e 0 exclusões
  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()