diff --git a/front/src/views/login/index.vue b/front/src/views/login/index.vue index 7e481975..cd9cc7f8 100644 --- a/front/src/views/login/index.vue +++ b/front/src/views/login/index.vue @@ -42,6 +42,9 @@ import { Encrypt } from '@/utils/crypto' import { UserOutlined, LockOutlined } from '@ant-design/icons-vue' import { message, Modal } from 'ant-design-vue' +// 是否是西海岸 +const isXiHaiAn = whoShow.itShowXiHaiAn + export default { name: 'Login', components: { @@ -145,7 +148,19 @@ export default { window.sessionStorage.setItem('visits', JSON.stringify([])) console.log('添加visits========================================>') // console.log(this.handleRoute()) - await this.$router.push('/home') + // 西海岸特殊处理 + if (isXiHaiAn) { + await this.$router.push({ + path: '/DetailsPageconetent', + query: { + select: '基础设施', + tecHnosphere: '', + appLiCation: '' + } + }) + } else { + await this.$router.push('/home') + } } catch (error) { message.error('登陆失败,用户名或密码错误!') }