houzhongjian
2024-11-27 3f4d4e3789040e3e8d566c6855b52cd808c2ac1a
src/views/Home/Index.vue
@@ -12,7 +12,7 @@
              {{ item.appName }}
            </div>
            <div class="goto-app">
              <div>进入系统</div>
              <div>进入应用</div>
            </div>
          </div>
        </div>
@@ -70,11 +70,11 @@
  if (type === 0) {
    await getAppMenuList(id, appCode)
  } else {
    // const data = await AppApi.getAppMenuList(id)
    // let userInfo = wsCache.get(CACHE_KEY.USER)
    // userInfo.menus = data
    // wsCache.set(CACHE_KEY.USER, userInfo)
    // wsCache.set(CACHE_KEY.ROLE_ROUTERS, data)
    const data = await AppApi.getAppMenuList(id)
    let userInfo = wsCache.get(CACHE_KEY.USER)
    userInfo.menus = data
    wsCache.set(CACHE_KEY.USER, userInfo)
    wsCache.set(CACHE_KEY.ROLE_ROUTERS, data)
    window.open(item.appDomain + '/index', '_blank')
    // window.open('/plat/shasteel', '_blank')
    // window.location.href = '/plat/shasteel'
@@ -123,7 +123,6 @@
}
.app-title {
  width: 162px;
  height: 32px;
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: bold;
  font-size: 24px;