MrShi
2024-04-02 22271e641e4505ba906c3770905b7e84e3ad8d85
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)