From e97eb2e7194490467799659cfecf659f98c74a94 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 25 二月 2023 22:56:19 +0800
Subject: [PATCH] 2023-02-25

---
 src/tabviews/custom/popview/index.jsx |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/src/tabviews/custom/popview/index.jsx b/src/tabviews/custom/popview/index.jsx
index 7f394ba..a3970b8 100644
--- a/src/tabviews/custom/popview/index.jsx
+++ b/src/tabviews/custom/popview/index.jsx
@@ -385,6 +385,9 @@
 
           if (!mutil && cell.syncComponentId === item.setting.supModule) {
             cell.syncComponentId = ''
+            if (cell.execSuccess === 'line' || cell.execSuccess === 'grid') {
+              cell.execSuccess = 'mainline'
+            }
           }
 
           if (cell.btnstyle) { // 鍏煎
@@ -417,6 +420,9 @@
 
               if (!mutil && cell.syncComponentId === item.setting.supModule) {
                 cell.syncComponentId = ''
+                if (cell.execSuccess === 'line' || cell.execSuccess === 'grid') {
+                  cell.execSuccess = 'mainline'
+                }
               }
               if (card.btnstyle) { // 鍏煎
                 card.style = card.style || {}
@@ -451,6 +457,9 @@
 
               if (!mutil && cell.syncComponentId === item.setting.supModule) {
                 cell.syncComponentId = ''
+                if (cell.execSuccess === 'line' || cell.execSuccess === 'grid') {
+                  cell.execSuccess = 'mainline'
+                }
               }
 
               if (card.btnstyle) { // 鍏煎
@@ -491,6 +500,9 @@
 
             if (cell.syncComponentId === item.wrap.supModule) {
               cell.syncComponentId = ''
+              if (cell.execSuccess === 'line' || cell.execSuccess === 'grid') {
+                cell.execSuccess = 'mainline'
+              }
             }
           } else if (['text', 'number', 'formula'].includes(cell.eleType)) {
             if (!cell.height) {
@@ -520,6 +532,9 @@
 
             if (cell.syncComponentId === item.setting.supModule) {
               cell.syncComponentId = ''
+              if (cell.execSuccess === 'line' || cell.execSuccess === 'grid') {
+                cell.execSuccess = 'mainline'
+              }
             }
 
             if (cell.btnstyle) { // 鍏煎
@@ -553,6 +568,9 @@
 
           if (group.subButton.syncComponentId === item.setting.supModule) {
             group.subButton.syncComponentId = ''
+            if (group.subButton.execSuccess === 'grid') {
+              group.subButton.execSuccess = 'mainline'
+            }
           }
 
           group.fields = group.fields.map(cell => {

--
Gitblit v1.8.0