This commit is contained in:
shijingjing
2022-09-29 19:27:42 +08:00
parent 27309d242b
commit 2b233c209c

View File

@@ -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
}
})
},