From 7d96fb168edf4e5b0540726a4b11ad434465f488 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 15 八月 2021 08:44:16 +0800
Subject: [PATCH] 2021-08-15

---
 src/tabviews/custom/index.jsx |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/tabviews/custom/index.jsx b/src/tabviews/custom/index.jsx
index ea7b418..da94766 100644
--- a/src/tabviews/custom/index.jsx
+++ b/src/tabviews/custom/index.jsx
@@ -599,7 +599,7 @@
           card.elements = card.elements.filter(cell => {
             if (cell.eleType === 'button') {
               cell.logLabel = item.$menuname + '-' + cell.label
-              cell.Ot = 'requiredSgl'
+              cell.Ot = cell.Ot || 'requiredSgl'
               cell.ContainerId = this.state.ContainerId
               cell.syncComponentId = cell.syncComponent ? (cell.syncComponent.pop() || '') : ''
               cell.$menuId = item.uuid
@@ -622,7 +622,7 @@
           card.backElements = card.backElements.filter(cell => {
             if (cell.eleType === 'button') {
               cell.logLabel = item.$menuname + '-' + cell.label
-              cell.Ot = 'requiredSgl'
+              cell.Ot = cell.Ot || 'requiredSgl'
               cell.ContainerId = this.state.ContainerId
               cell.syncComponentId = cell.syncComponent ? (cell.syncComponent.pop() || '') : ''
               cell.$menuId = item.uuid
@@ -671,7 +671,7 @@
           card.elements = card.elements.filter(cell => {
             if (cell.eleType === 'button') {
               cell.logLabel = item.$menuname + '-' + cell.label
-              cell.Ot = 'requiredSgl'
+              cell.Ot = cell.Ot || 'requiredSgl'
               cell.ContainerId = this.state.ContainerId
               cell.syncComponentId = cell.syncComponent ? (cell.syncComponent.pop() || '') : ''
               cell.$menuId = item.uuid
@@ -697,7 +697,7 @@
           if (col.type !== 'action') return true
           col.elements = col.elements.filter(cell => {
             cell.logLabel = item.$menuname + '-' + cell.label
-            cell.Ot = 'requiredSgl'
+            cell.Ot = cell.Ot || 'requiredSgl'
             cell.ContainerId = this.state.ContainerId
             cell.syncComponentId = cell.syncComponent ? (cell.syncComponent.pop() || '') : ''
             cell.$menuId = item.uuid

--
Gitblit v1.8.0