From add921a438ec8f1d575200b1476c2c3daea47539 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Thu, 29 Sep 2022 18:29:15 +0800 Subject: [PATCH] =?UTF-8?q?400=E6=AF=AB=E7=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/pingchang/AppGetewayRegister/getewayAdd.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/project/pingchang/AppGetewayRegister/getewayAdd.vue b/src/project/pingchang/AppGetewayRegister/getewayAdd.vue index 229b337..2fb333b 100644 --- a/src/project/pingchang/AppGetewayRegister/getewayAdd.vue +++ b/src/project/pingchang/AppGetewayRegister/getewayAdd.vue @@ -423,10 +423,13 @@ export default { // 授权登录 getAuth() { this.$nextTick(() => { + this.$forceUpdate() if(this.token) { - this.form.gatewayId = this.scene - this.form.gatewayName = this.getewayData.filter(item=> item.value == this.scene)?.[0].label || '' - this.pageShow = true + setTimeout(()=> { + this.form.gatewayId = this.scene + this.form.gatewayName = this.getewayData.filter(item=> item.value == this.scene)?.[0].label || '' + this.pageShow = true + }, 400) } }) },