king
2024-08-25 ae170a9d58b4f91a225eada1dc83ed4a116b8d50
src/tabviews/custom/components/editor/braft-editor/index.jsx
@@ -53,10 +53,16 @@
  
        window.GLOB.SyncData.delete(_config.dataName)
      }
    } else if (_config.wrap.datatype === 'public' && window.GLOB.CacheData.has(_config.wrap.publicId)) {
      _data = window.GLOB.CacheData.get(_config.wrap.publicId)
      _data = fromJS(_data).toJS()
    }
    if (_config.wrap.minHeight) {
      _config.style.minHeight = _config.wrap.minHeight
    }
    if (_config.wrap.firstTr === 'light') {
      _config.wrap.tbStyle = 'th-light'
    }
    this.setState({
@@ -228,7 +234,7 @@
    if (config.wrap.empty === 'hidden' && (!data || data.$$empty)) return null
    return (
      <div className={'custom-braft-editor-box ' + (config.wrap.firstTr || '')} id={'anchor' + config.uuid} style={config.style}>
      <div className={'custom-braft-editor-box ' + (config.wrap.tbStyle || '')} id={'anchor' + config.uuid} style={config.style}>
        {loading ?
          <div className="loading-mask">
            <div className="ant-spin-blur"></div>