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 customAttr = JSON.parse(this.chart.customAttr)
|
||||||
const senior = JSON.parse(this.chart.senior)
|
const senior = JSON.parse(this.chart.senior)
|
||||||
if (senior?.scrollCfg?.open) {
|
if (senior?.scrollCfg?.open) {
|
||||||
if (this.chart.type !== 'table-normal') {
|
if (this.chart.type === 'table-info' && this.showPage) {
|
||||||
if (this.chart.type === 'table-info' && !this.showPage) {
|
return
|
||||||
return
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
// 防止多次渲染
|
// 防止多次渲染
|
||||||
this.myChart.facet.timer?.stop()
|
this.myChart.facet.timer?.stop()
|
||||||
|
|||||||
@ -80,6 +80,7 @@
|
|||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item
|
<el-form-item
|
||||||
|
v-show="false"
|
||||||
class="form-item"
|
class="form-item"
|
||||||
:label="$t('chart.forecast_confidence_interval')"
|
:label="$t('chart.forecast_confidence_interval')"
|
||||||
>
|
>
|
||||||
@ -97,6 +98,7 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item
|
<el-form-item
|
||||||
|
v-show="false"
|
||||||
v-if="forecastCfg.ciType === 'custom'"
|
v-if="forecastCfg.ciType === 'custom'"
|
||||||
class="form-item"
|
class="form-item"
|
||||||
:label="$t('chart.custom_case')"
|
:label="$t('chart.custom_case')"
|
||||||
|
|||||||
@ -16,6 +16,7 @@
|
|||||||
@change="changeScrollCfg"
|
@change="changeScrollCfg"
|
||||||
>{{ $t('chart.open') }}</el-checkbox>
|
>{{ $t('chart.open') }}</el-checkbox>
|
||||||
<el-tooltip
|
<el-tooltip
|
||||||
|
v-show="chart.type === 'table-info'"
|
||||||
class="item"
|
class="item"
|
||||||
effect="dark"
|
effect="dark"
|
||||||
placement="bottom"
|
placement="bottom"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user