Merge pull request #10003 from dataease/pr@dev@refactor_chart
Pr@dev@refactor chart
This commit is contained in:
commit
c1999a1e6c
@ -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()
|
||||
|
||||
@ -80,6 +80,7 @@
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
v-show="false"
|
||||
class="form-item"
|
||||
:label="$t('chart.forecast_confidence_interval')"
|
||||
>
|
||||
@ -97,6 +98,7 @@
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
v-show="false"
|
||||
v-if="forecastCfg.ciType === 'custom'"
|
||||
class="form-item"
|
||||
:label="$t('chart.custom_case')"
|
||||
|
||||
@ -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