From 2dabff65edf669686bb5316d9cec1444bf1de5bf Mon Sep 17 00:00:00 2001 From: mabo Date: Wed, 11 Aug 2021 21:41:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=97=E9=93=BA=E5=85=A5=E9=A9=BB=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E5=9B=9E=E6=98=BE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buyer/src/pages/shopEntry/SecondApply.vue | 1 + buyer/src/pages/shopEntry/ShopEntry.vue | 5 ++--- buyer/src/pages/shopEntry/ThirdApply.vue | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/buyer/src/pages/shopEntry/SecondApply.vue b/buyer/src/pages/shopEntry/SecondApply.vue index 7c87a824..5015266c 100644 --- a/buyer/src/pages/shopEntry/SecondApply.vue +++ b/buyer/src/pages/shopEntry/SecondApply.vue @@ -94,6 +94,7 @@ export default { this.form = JSON.parse(JSON.stringify(this.content)); this.$forceUpdate(); } + this.$refs.secondForm.resetFields() } }; diff --git a/buyer/src/pages/shopEntry/ShopEntry.vue b/buyer/src/pages/shopEntry/ShopEntry.vue index a8dde5ac..149ee134 100644 --- a/buyer/src/pages/shopEntry/ShopEntry.vue +++ b/buyer/src/pages/shopEntry/ShopEntry.vue @@ -123,9 +123,7 @@ export default { this.thirdData[e] = data[e]; }); - if (this.storeDisable === 'APPLY') { - this.currentIndex = 0; - } else { + if (this.storeDisable !== 'APPLY') { this.currentIndex = 3; } this.$nextTick(() => { @@ -139,6 +137,7 @@ export default { // 下一步 nextPage (step) { this.currentIndex = step; + this.getData() } }, mounted () { diff --git a/buyer/src/pages/shopEntry/ThirdApply.vue b/buyer/src/pages/shopEntry/ThirdApply.vue index 82d6b9f2..15167274 100644 --- a/buyer/src/pages/shopEntry/ThirdApply.vue +++ b/buyer/src/pages/shopEntry/ThirdApply.vue @@ -256,6 +256,7 @@ export default { this.address = this.form.storeAddressIdPath; this.$forceUpdate(); } + this.$refs.thirdForm.resetFields() } };