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']), ...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
}
}) })
}, },