From f724c64b419f148985c0bd5a1153e3fc7d84b9e6 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 12 七月 2023 17:03:27 +0800
Subject: [PATCH] Merge branch 'develop'

---
 src/tabviews/custom/components/card/prop-card/index.jsx |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/src/tabviews/custom/components/card/prop-card/index.jsx b/src/tabviews/custom/components/card/prop-card/index.jsx
index c8bc94d..837a22d 100644
--- a/src/tabviews/custom/components/card/prop-card/index.jsx
+++ b/src/tabviews/custom/components/card/prop-card/index.jsx
@@ -95,6 +95,14 @@
           card.setting.click = ''
         }
       }
+
+      if (card.style.clear === 'left') {
+        card.wStyle = {clear: 'left'}
+      } else if (card.style.clear === 'right') {
+        card.wStyle = {float: 'right'}
+      }
+
+      delete card.style.clear
     })
 
     let selected = _config.wrap.selected || 'false'
@@ -322,10 +330,6 @@
     } else {
       this.loadData()
     }
-
-    if (position === 'popclose') { // 鎵ц鍚姩寮圭獥鐨勬寜閽墍閫夋嫨鐨勫埛鏂伴」
-      btn.$tabId && MKEmitter.emit('refreshPopButton', btn.$tabId)
-    }
   }
 
   refreshLineData = (menuId, btn, uuid, count) => {
@@ -536,7 +540,7 @@
             }
 
             return (
-              <Col className={className} key={index} span={item.setting.width || 6} offset={item.offset || 0}>
+              <Col className={className} key={index} style={item.wStyle} span={item.setting.width || 6} offset={item.offset || 0}>
                 <CardItem card={item} cards={config} data={data} onClick={() => {this.changeCard(index, item)}}/>
               </Col>
             )

--
Gitblit v1.8.0