token
This commit is contained in:
@@ -420,12 +420,14 @@ export default {
|
|||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
...mapActions(['getUserInfo']),
|
...mapActions(['getUserInfo']),
|
||||||
|
// 授权登录
|
||||||
getAuth() {
|
getAuth() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.token && this.getUserInfo()
|
if(this.token) {
|
||||||
this.form.gatewayId = this.scene
|
this.form.gatewayId = this.scene
|
||||||
this.form.gatewayName = this.getewayData.filter(item=> item.value == this.scene)?.[0].label || ''
|
this.form.gatewayName = this.getewayData.filter(item=> item.value == this.scene)?.[0].label || ''
|
||||||
this.pageShow = true
|
this.pageShow = true
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user