feat:修复自定义组件获取数据问题

main
liu.shiyi 2 years ago
parent 19b9752a1d
commit 6b5a1af09c

@ -7,6 +7,7 @@
<el-table
:id="config.code"
ref="table"
:key="updateKey"
class="custom-table"
height="100%"
:stripe="config.customize.stripe"

@ -39,7 +39,7 @@ export default {
chartInit () {
let config = this.config
// key和code相等说明是一进来刷新调用list接口
if (this.config.code === this.config.key || this.isPreview) {
if (this.isPreview) {
// 改变样式
config = this.changeStyle(config) ? this.changeStyle(config) : config
// 改变数据

Loading…
Cancel
Save