This commit is contained in:
shijingjing
2022-09-29 18:43:13 +08:00
parent add921a438
commit e4f37c927f

View File

@@ -423,13 +423,11 @@ export default {
// 授权登录
getAuth() {
this.$nextTick(() => {
this.$forceUpdate()
if(this.token) {
setTimeout(()=> {
this.form.gatewayId = this.scene
this.form.gatewayName = this.getewayData.filter(item=> item.value == this.scene)?.[0].label || ''
const item = this.getewayData.filter(item=> item.value == this.scene)
this.form.gatewayName = item[0].label
this.pageShow = true
}, 400)
}
})
},