西海岸:登录默认 跳转到能力集市-基础设施

This commit is contained in:
guoyue 2022-09-26 15:55:31 +08:00
parent 2688b764e5
commit 4e3fa20984
1 changed files with 16 additions and 1 deletions

View File

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