src/tabviews/custom/components/card/table-card/index.jsx
@@ -34,7 +34,7 @@ } UNSAFE_componentWillMount () { const { data } = this.props const { data, initdata } = this.props let _config = fromJS(this.props.config).toJS() let _cols = new Map() @@ -44,6 +44,9 @@ if (_config.setting.sync === 'true' && data) { _data = data[_config.dataName] || [] _sync = false } else if (_config.setting.sync === 'true' && initdata) { _data = initdata || [] _sync = false } let showHeader = false