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] =?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 {