bug
This commit is contained in:
@@ -422,13 +422,17 @@ export default {
|
|||||||
...mapActions(['getUserInfo']),
|
...mapActions(['getUserInfo']),
|
||||||
// 授权登录
|
// 授权登录
|
||||||
getAuth() {
|
getAuth() {
|
||||||
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
if(this.token.length) {
|
if(this.token.length) {
|
||||||
this.form.gatewayId = this.scene
|
this.form.gatewayId = this.scene
|
||||||
const item = this.getewayData.filter(item=> item.value == this.scene)
|
this.getewayList()
|
||||||
this.form.gatewayName = item[0].label
|
|
||||||
this.pageShow = true
|
|
||||||
this.$forceUpdate()
|
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