Merge pull request #2540 from dataease/pr@dev@perf_filter_select_visual

perf: 去除虚拟化选项
This commit is contained in:
fit2cloud-chenyw 2022-06-30 19:42:55 +08:00 committed by GitHub
commit 39a229b6d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>