From 74e5d38d9a0e94421ceceea37c4677e5b57364ba Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 14 十月 2022 00:33:18 +0800
Subject: [PATCH] 2022-10-14

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

diff --git a/src/menu/stylecombcontrolbutton/index.jsx b/src/menu/stylecombcontrolbutton/index.jsx
index 6041a8d..1df5924 100644
--- a/src/menu/stylecombcontrolbutton/index.jsx
+++ b/src/menu/stylecombcontrolbutton/index.jsx
@@ -60,7 +60,7 @@
 
       if (_type === 'cardcell') {
         _parent = _p
-        MKEmitter.emit('changeCombineStyle', ['margin', 'padding', 'border', 'background', 'font'])
+        MKEmitter.emit('switchMultiStyle', 'open')
       } else {
         let getParents = (box) => {
           box.components.forEach(item => {
@@ -86,7 +86,7 @@
           getParents(menu)
         }
 
-        MKEmitter.emit('changeCombineStyle', ['margin', 'padding', 'border', 'background'])
+        MKEmitter.emit('switchMultiStyle', 'open')
       }
 
       document.getElementById(card.uuid).classList.add('selected-control-element')
@@ -108,7 +108,7 @@
       }
 
       if (components.length === 0) {
-        MKEmitter.emit('closeCombineStyle')
+        MKEmitter.emit('switchMultiStyle', 'close')
         sessionStorage.setItem('style-control', 'true')
       }
 
@@ -134,7 +134,7 @@
         document.getElementById(item.uuid).classList.remove('selected-control-element')
       })
 
-      MKEmitter.emit('closeCombineStyle')
+      MKEmitter.emit('switchMultiStyle', 'close')
 
       this.setState({label: '鎵归噺璋冩暣', parent: null, components: []})
     }

--
Gitblit v1.8.0