MrShi
2024-11-13 b496da6315314d9bd048ac2214d8bc95d2f1df02
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)