Przeglądaj źródła

禾雅堂资料库开放

yuwenjun1997 2 lat temu
rodzic
commit
3df51bb405
1 zmienionych plików z 10 dodań i 0 usunięć
  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()