From ccee5f79043769c13d304343a40c46a3de4e9d17 Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期五, 28 一月 2022 15:19:30 +0800
Subject: [PATCH]  Merge branch 'bhomebus' of http://192.168.5.5:10010/r/web/vue-smart-ai into bhomebus

---
 src/pages/library/components/addBase.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/pages/library/components/addBase.vue b/src/pages/library/components/addBase.vue
index 540adb7..b3865f4 100644
--- a/src/pages/library/components/addBase.vue
+++ b/src/pages/library/components/addBase.vue
@@ -286,6 +286,7 @@
   },
   methods: {
     onSubmit(formName) {
+      debugger
       if (this.form.id) {
         // id涓嶄负绌猴紝淇敼搴曞簱
         this.$refs[formName].validate(async (valid) => {
@@ -314,6 +315,7 @@
                 type: "success",
               });
               this.$emit("refresh");
+              this.$emit("closeAdd");
             } else {
               this.$notify({
                 title: "澶辫触",
@@ -601,12 +603,12 @@
     }
     .el-form-item__error {
       color: #fe6d68;
-      padding-top: 3px;
+      padding-top: 5px; 
       left: 15px;
     }
     .start-time-pick {
       .el-form-item__error {
-        top: 36px;
+        top: 34px;
         left: 105px;
       }
     }

--
Gitblit v1.8.0