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