From 88f178df654b08411470a7eab75b3d5fed8817c0 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 03 十一月 2023 01:37:45 +0800
Subject: [PATCH] Merge branch 'develop'

---
 src/utils/utils-custom.js |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/src/utils/utils-custom.js b/src/utils/utils-custom.js
index 657a6f3..6e80931 100644
--- a/src/utils/utils-custom.js
+++ b/src/utils/utils-custom.js
@@ -558,6 +558,13 @@
         }
 
         item.cols = loopCol(item.cols)
+
+        if (item.colsCtrls) {
+          item.colsCtrls = item.colsCtrls.map(col => {
+            col.cols = col.cols.map(f => md5(commonId + f))
+            return col
+          })
+        }
       } else if (item.type === 'form') {
         item.subcards = item.subcards.map(cell => {
           cell.uuid = this.getuuid()
@@ -851,6 +858,13 @@
       }
 
       item.cols = loopCol(item.cols)
+
+      if (item.colsCtrls) {
+        item.colsCtrls = item.colsCtrls.map(col => {
+          col.cols = col.cols.map(f => md5(commonId + f))
+          return col
+        })
+      }
     } else if (item.type === 'form') {
       item.subcards = item.subcards.map(cell => {
         cell.uuid = this.getuuid()
@@ -919,6 +933,13 @@
     if (item.setting && item.setting.supModule && item.setting.supModule[0] !== 'empty') {
       item.setting.supModule = ''
     }
+    
+    if (item.wrap && item.wrap.supType === 'multi') {
+      item.wrap.supType = 'single'
+
+      delete item.supNodes
+    }
+    
     if (item.wrap && item.wrap.supModule) {
       item.wrap.supModule = ''
     }

--
Gitblit v1.8.0