From 0723f2c7428d57458df1dca3a619d92b5f23d140 Mon Sep 17 00:00:00 2001
From: chenrui <1187576398@qq.com>
Date: 星期五, 28 三月 2025 15:26:00 +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