From eda588e2e3cd0e7fc89ae3ef84d8b8ebbfe78155 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E6=9C=89=E6=B8=85=E9=A6=99=E6=9C=88=E6=9C=89?= =?UTF-8?q?=E9=98=B4?= <185154740@qq.com> Date: Mon, 21 Feb 2022 09:12:29 +0800 Subject: [PATCH 1/2] =?UTF-8?q?if=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mods/AppVillager/AppVillager.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mods/AppVillager/AppVillager.vue b/src/mods/AppVillager/AppVillager.vue index 754977b..db84099 100644 --- a/src/mods/AppVillager/AppVillager.vue +++ b/src/mods/AppVillager/AppVillager.vue @@ -238,12 +238,14 @@ export default { }, toAdd(index) { + this.delAndEdit = false if (this.statDisabled == 0 && index == 0) { - this.delAndEdit = false return this.$u.toast('该数据未审核') } + if (this.tabIndex0 == 3 && this.tabCurrent1 == 1) { + return + } - this.delAndEdit = false if (index == 0) { this.$linkTo(`./add?id=${this.editId}`) } else { From 351b0582b207b59fd0c616fb6f3318c2d25ae2b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E6=9C=89=E6=B8=85=E9=A6=99=E6=9C=88=E6=9C=89?= =?UTF-8?q?=E9=98=B4?= <185154740@qq.com> Date: Mon, 21 Feb 2022 09:53:02 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=A4=9A=E4=BD=99=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mods/AppServiceOnlineNew/serviceForm.vue | 1 + src/mods/AppServiceOnlineNew/serviceNotice.vue | 2 +- src/mods/AppVillager/AppVillager.vue | 9 +-------- src/mods/AppVillager/add.vue | 1 - 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/src/mods/AppServiceOnlineNew/serviceForm.vue b/src/mods/AppServiceOnlineNew/serviceForm.vue index b8bc8e8..9023601 100644 --- a/src/mods/AppServiceOnlineNew/serviceForm.vue +++ b/src/mods/AppServiceOnlineNew/serviceForm.vue @@ -36,6 +36,7 @@ +