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