From 271e40aa56ca88540f46c511bacf33c361df27b3 Mon Sep 17 00:00:00 2001 From: liuye Date: Thu, 21 Apr 2022 16:48:56 +0800 Subject: [PATCH] bug --- src/apps/AppFourNeighbor/AppFourNeighbor.vue | 3 +-- src/apps/AppPartyPoints/Add.vue | 2 +- src/components/pages/selectParty.vue | 13 +++++++++---- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/apps/AppFourNeighbor/AppFourNeighbor.vue b/src/apps/AppFourNeighbor/AppFourNeighbor.vue index 8409e034..719e81b6 100644 --- a/src/apps/AppFourNeighbor/AppFourNeighbor.vue +++ b/src/apps/AppFourNeighbor/AppFourNeighbor.vue @@ -72,8 +72,7 @@ export default { linksageDate: this.search.linksageDate, residentName : this.search.residentName }, - }) - .then((res) => { + }).then((res) => { if (res.code == 0) { this.list = this.current > 1 ? [...this.list, ...res.data.records] : res.data.records } diff --git a/src/apps/AppPartyPoints/Add.vue b/src/apps/AppPartyPoints/Add.vue index 3c21eef5..23768ab0 100644 --- a/src/apps/AppPartyPoints/Add.vue +++ b/src/apps/AppPartyPoints/Add.vue @@ -86,11 +86,11 @@ export default { if(!this.isFlag) { return } + this.isFlag = false this.$http.post('/app/apppartyintegralinfo/add', { partyIntegralList: [{...this.form}], }).then(res => { if (res.code == 0) { - this.isFlag = false this.$u.toast('提交成功') uni.$emit('reload') setTimeout(() => { diff --git a/src/components/pages/selectParty.vue b/src/components/pages/selectParty.vue index e069f1ae..820cc8bf 100644 --- a/src/components/pages/selectParty.vue +++ b/src/components/pages/selectParty.vue @@ -1,7 +1,7 @@