src/views/Home/Index.vue
@@ -48,7 +48,7 @@ // userInfo.menus = data wsCache.set(CACHE_KEY.USER, userInfo) wsSessionCache.set(CACHE_KEY.ROLE_ROUTERS, data) window.location.href = '/plat/index' window.location.href = import.meta.env.VITE_BASE_PATH + 'index' } const getAllApi = async () => { @@ -64,7 +64,6 @@ const gotoApp = async (item) => { let path = window.location.pathname let appName = path.split("/")[0] console.log(appName) let id = item.id let type = item.type let appCode = item.appCode