From 8669f9f8959e29d4dea457cd88416d9b954b35af Mon Sep 17 00:00:00 2001
From: songshankun <songshankun@foxmail.com>
Date: 星期五, 20 十月 2023 10:46:12 +0800
Subject: [PATCH] feat: 产品/产品类别编辑弹窗非必填项表单备选项删除请选择,重置接口返回字段式表单正常回显

---
 src/views/operate/scrap/AddScrapDialog.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/operate/scrap/AddScrapDialog.vue b/src/views/operate/scrap/AddScrapDialog.vue
index a2fd3e4..3dc7f47 100644
--- a/src/views/operate/scrap/AddScrapDialog.vue
+++ b/src/views/operate/scrap/AddScrapDialog.vue
@@ -212,7 +212,7 @@
     },
     // 璁剧疆鍒犻櫎/鎵撳嵃/缂栬緫鏄惁鏄剧ず
     setBottonView() {
-      if (this.editConfig.title === "鏂板缓") {
+      if (this.editConfig.title === "鏂板缓"||this.editConfig.title==="缂栬緫") {
         this.showButton = false
         this.showEdit = false
         this.showFooter = true
@@ -224,7 +224,7 @@
         this.isValidateClick = false
       } else {
         this.showButton = true
-        this.showEdit = true
+        this.showEdit = false
         this.showFooter = false
         this.isValidateClick = true
       }

--
Gitblit v1.8.0