From 5455dd4cd7c27d14bc7f98f110ae14163dbaacc1 Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期三, 16 二月 2022 15:30:10 +0800
Subject: [PATCH] 对比库新增跳到最末

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

diff --git a/src/pages/library/components/addBase.vue b/src/pages/library/components/addBase.vue
index 540adb7..ff18fa7 100644
--- a/src/pages/library/components/addBase.vue
+++ b/src/pages/library/components/addBase.vue
@@ -305,7 +305,6 @@
               bwType: this.form.bwType,
               enable: this.form.enable,
               tableDesc: this.form.tableDesc,
-              // isSync: this.form.isSync,
             });
             if (res.success === true) {
               this.$notify({
@@ -314,6 +313,7 @@
                 type: "success",
               });
               this.$emit("refresh");
+              this.$emit("closeAdd");
             } else {
               this.$notify({
                 title: "澶辫触",
@@ -342,7 +342,6 @@
               enabled: this.form.enabled,
               tableDesc: this.form.tableDesc,
               analyServerId: this.type,
-              // isSync: this.form.isSync,
             })
               .then((res) => {
                 this.$notify({
@@ -351,6 +350,7 @@
                   type: "success",
                 });
                 this.$emit("refresh");
+                this.$emit("closeAdd");
               })
               .catch((err) => {
                 this.$notify({
@@ -601,12 +601,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