nidapeng
2024-03-29 39fb77e70bae8aa3289df71bcb04b78dc9f2ba8f
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)