400毫秒

This commit is contained in:
shijingjing
2022-09-29 18:29:15 +08:00
parent a56d6e77ba
commit add921a438

View File

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