From e07e410cf2fbc64c4e1fa8a080a9aac6a3d0c305 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 23 十月 2023 10:39:50 +0800
Subject: [PATCH] 2023-10-23

---
 src/tabviews/custom/components/table/edit-table/normalTable/index.jsx |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/tabviews/custom/components/table/edit-table/normalTable/index.jsx b/src/tabviews/custom/components/table/edit-table/normalTable/index.jsx
index 4da1baa..053c122 100644
--- a/src/tabviews/custom/components/table/edit-table/normalTable/index.jsx
+++ b/src/tabviews/custom/components/table/edit-table/normalTable/index.jsx
@@ -407,9 +407,9 @@
       }
 
       if (col.marks) {
-        let mark = getMark(col.marks, record, style)
+        style = style ? {...style} : {}
 
-        style = mark.style
+        let mark = getMark(col.marks, record, style)
 
         if (mark.icon) {
           if (mark.position === 'front') {
@@ -507,9 +507,9 @@
       }
 
       if (col.marks) {
-        let mark = getMark(col.marks, record, style)
+        style = style ? {...style} : {}
 
-        style = mark.style
+        let mark = getMark(col.marks, record, style)
 
         if (mark.icon) {
           if (mark.position === 'front') {
@@ -612,9 +612,9 @@
       }
 
       if (col.marks) {
-        let mark = getMark(col.marks, record, style)
+        style = style ? {...style} : {}
 
-        style = mark.style
+        let mark = getMark(col.marks, record, style)
 
         if (mark.icon) {
           if (mark.position === 'front') {
@@ -903,9 +903,9 @@
         }
 
         if (col.marks) {
-          let mark = getMark(col.marks, record, style)
+          style = style ? {...style} : {}
 
-          style = mark.style
+          let mark = getMark(col.marks, record, style)
 
           if (mark.icon) {
             if (mark.position === 'front') {
@@ -979,9 +979,9 @@
         }
 
         if (col.marks) {
-          let mark = getMark(col.marks, record, style)
+          style = style ? {...style} : {}
 
-          style = mark.style
+          let mark = getMark(col.marks, record, style)
 
           if (mark.icon) {
             if (mark.position === 'front') {
@@ -1073,9 +1073,9 @@
       }
 
       if (col.marks) {
-        let mark = getMark(col.marks, record, style)
+        style = style ? {...style} : {}
 
-        style = mark.style
+        let mark = getMark(col.marks, record, style)
 
         if (mark.icon) {
           if (mark.position === 'front') {

--
Gitblit v1.8.0