refactor(视图): 表格滚动提示优化
This commit is contained in:
parent
5aec52c53a
commit
81bff6be96
@ -541,10 +541,8 @@ export default {
|
||||
const customAttr = JSON.parse(this.chart.customAttr)
|
||||
const senior = JSON.parse(this.chart.senior)
|
||||
if (senior?.scrollCfg?.open) {
|
||||
if (this.chart.type !== 'table-normal') {
|
||||
if (this.chart.type === 'table-info' && !this.showPage) {
|
||||
return
|
||||
}
|
||||
if (this.chart.type === 'table-info' && this.showPage) {
|
||||
return
|
||||
}
|
||||
// 防止多次渲染
|
||||
this.myChart.facet.timer?.stop()
|
||||
|
||||
@ -16,6 +16,7 @@
|
||||
@change="changeScrollCfg"
|
||||
>{{ $t('chart.open') }}</el-checkbox>
|
||||
<el-tooltip
|
||||
v-show="chart.type === 'table-info'"
|
||||
class="item"
|
||||
effect="dark"
|
||||
placement="bottom"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user