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