diff --git a/pages/helpPeople/formTable.vue b/pages/helpPeople/formTable.vue index bc1f985..9a0420a 100644 --- a/pages/helpPeople/formTable.vue +++ b/pages/helpPeople/formTable.vue @@ -840,7 +840,9 @@ }, async submit() { - if (this.saveNum < 2) return + if (this.saveNum < 2) return this.$util.Tips({ + title: '请至少填写两项!' + }) let that = this uni.request({ url: HTTP_REQUEST_URL_SIX + (that.mode == 'add' ? '/api/index/addVillagerInfo' : @@ -881,10 +883,10 @@ this.SaveList.splice(index, 1, true); this.open(index) }, + edit(index) { this.SaveList.splice(index, 1, false); - }, - + } } } diff --git a/pages/helpPeople/helpPeople.vue b/pages/helpPeople/helpPeople.vue index 25869a3..bcebee6 100644 --- a/pages/helpPeople/helpPeople.vue +++ b/pages/helpPeople/helpPeople.vue @@ -1,8 +1,8 @@