西海岸:登录默认 跳转到能力集市-基础设施
This commit is contained in:
parent
2688b764e5
commit
4e3fa20984
|
@ -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('登陆失败,用户名或密码错误!')
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue