forked from github/dataease
Merge pull request #2540 from dataease/pr@dev@perf_filter_select_visual
perf: 去除虚拟化选项
This commit is contained in:
commit
39a229b6d9
@ -172,11 +172,16 @@ export default {
|
|||||||
|
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
if (this.element && this.element.options && this.element.options.attrs) {
|
||||||
|
this.element.options.attrs.visual = true
|
||||||
|
}
|
||||||
|
|
||||||
if (!this.element.options.attrs.sort) {
|
if (!this.element.options.attrs.sort) {
|
||||||
this.element.options.attrs.sort = {}
|
this.element.options.attrs.sort = {}
|
||||||
}
|
}
|
||||||
this.initLoad()
|
this.initLoad()
|
||||||
},
|
},
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
bus.$on('onScroll', this.onScroll)
|
bus.$on('onScroll', this.onScroll)
|
||||||
bus.$on('reset-default-value', this.resetDefaultValue)
|
bus.$on('reset-default-value', this.resetDefaultValue)
|
||||||
|
@ -9,9 +9,6 @@
|
|||||||
@change="multipleChange"
|
@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>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user