MrShi
2024-02-22 8d7bb4ac830444afde480a588e99952105ea8ede
platform/src/main.js
@@ -60,7 +60,7 @@
      if (storeMenus.length > 0 && this.homePage == null) {
        this.setHomePage(storeMenus[0])
      }
      await fetchMenuTree({ type: 0 })
      await fetchMenuTree(this.userInfo.type)
        .then(menus => {
          // 添加菜单
          storeMenus.push.apply(storeMenus, menus)