From 306eb5f035302baef95995437e2dc735110b6536 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 23 二月 2023 17:38:37 +0800
Subject: [PATCH] Merge branch 'master' into positec

---
 src/templates/comtableconfig/updatetable/index.jsx |   14 ++++----------
 1 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/src/templates/comtableconfig/updatetable/index.jsx b/src/templates/comtableconfig/updatetable/index.jsx
index 8aaf83b..ffe2380 100644
--- a/src/templates/comtableconfig/updatetable/index.jsx
+++ b/src/templates/comtableconfig/updatetable/index.jsx
@@ -705,21 +705,13 @@
       _resolve()
 
       if (res.status) {
-        notification.success({
-          top: 92,
-          message: '鍗囩骇鎴愬姛',
-          duration: 2
-        })
-
         delete urlparam.type
         delete urlparam.MenuType
 
         let _param = window.btoa(window.encodeURIComponent(JSON.stringify(urlparam)))
 
-        setTimeout(() => {
-          window.history.replaceState(null, null, window.location.href.split('#')[0] + `#/tabledesign/${_param}`)
-          window.location.reload()
-        }, 2000)
+        window.history.replaceState(null, null, window.location.href.split('#')[0] + `#/tabledesign/${_param}`)
+        window.location.reload()
       } else {
         Modal.warning({
           title: res.message,
@@ -821,6 +813,7 @@
           if (m.signType === 'line') {
             lineMarks.push({
               $index: lineMarks.length + 1,
+              uuid: Utils.getuuid(),
               field: field,
               color: color,
               contrastValue: m.contrastValue || '',
@@ -830,6 +823,7 @@
           } else {
             _col.marks.push({
               $index: _col.marks.length + 1,
+              uuid: Utils.getuuid(),
               field: field,
               color: color,
               contrastValue: m.contrastValue || '',

--
Gitblit v1.8.0