perf: 去除虚拟化选项

This commit is contained in:
fit2cloud-chenyw 2022-06-30 19:41:04 +08:00
parent e603ebd219
commit 4eefd8a203
2 changed files with 5 additions and 3 deletions

View File

@ -172,11 +172,16 @@ export default {
},
created() {
if (this.element && this.element.options && this.element.options.attrs) {
this.element.options.attrs.visual = true
}
if (!this.element.options.attrs.sort) {
this.element.options.attrs.sort = {}
}
this.initLoad()
},
mounted() {
bus.$on('onScroll', this.onScroll)
bus.$on('reset-default-value', this.resetDefaultValue)

View File

@ -9,9 +9,6 @@
@change="multipleChange"
/>
<span v-if="widget.showVisual" style="padding-left: 16px;">
<el-checkbox v-model="attrs.visual" @change="showVisualChange">{{ $t('panel.visual') }}</el-checkbox>
</span>
</div>
</el-col>