king
2022-10-18 a8507cc8c42d17d4fb854594dbf1e084d61912ac
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: []})
    }