king
2022-11-25 3d71e181be80c0a1cbb03aff2afecb4351496d46
src/tabviews/custom/components/form/tab-form/index.jsx
@@ -55,8 +55,8 @@
    if (config.wrap.datatype !== 'static') {
      _sync = config.setting.sync === 'true'
      if (_sync && data && data[config.dataName]) {
        _data = data[config.dataName]
      if (_sync && data) {
        _data = data[config.dataName] || {$$empty: true}
        if (Array.isArray(_data)) {
          _data = _data[0] || {$$empty: true}
        }
@@ -214,11 +214,7 @@
        param: {$BID: id || ''}
      }
      if (['linkage_navigation', 'linkage', 'menu_board'].includes(window.GLOB.navBar)) {
        MKEmitter.emit('modifyTabs', newtab, 'replace')
      } else {
        MKEmitter.emit('modifyTabs', newtab, 'plus', true)
      }
      MKEmitter.emit('modifyTabs', newtab, true)
    }
  }
@@ -304,6 +300,8 @@
  render() {
    const { config, loading, BID, BData, data, group, dict } = this.state
    if (config.setting.supModule && !BID) return null
    return (
      <div className="custom-tab-form-box" id={'anchor' + config.uuid} style={{...config.style}}>
        {loading ?