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() } };