From 9edefe563de10226e322004e21e1db82f7ea227d Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 24 四月 2025 14:10:14 +0800
Subject: [PATCH] 工艺路线详情页面缓存

---
 src/views/basic/customizeparamtemplatetype/templatetype-form.vue |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/views/basic/customizeparamtemplatetype/templatetype-form.vue b/src/views/basic/customizeparamtemplatetype/templatetype-form.vue
index 8acde63..927afd6 100644
--- a/src/views/basic/customizeparamtemplatetype/templatetype-form.vue
+++ b/src/views/basic/customizeparamtemplatetype/templatetype-form.vue
@@ -114,6 +114,9 @@
               this.visible = false
               this.isSubmit = false
               this.$emit('refreshDataList')
+            }).catch(error=>{
+              console.error(error);
+              this.isSubmit = false
             })
           } else {
             addObj(this.dataForm).then((data) => {
@@ -121,6 +124,9 @@
               this.visible = false
               this.isSubmit = false
               this.$emit('refreshDataList')
+            }).catch(error=>{
+              console.error(error);
+              this.isSubmit = false
             })
           }
         } else {

--
Gitblit v1.9.3