fix(视图): 优化视图翻页提示防止

This commit is contained in:
wangjiahao 2023-01-04 17:52:43 +08:00
parent c8ad1a25b1
commit 5d7da59142

View File

@ -332,12 +332,14 @@ export default {
})
return
}
if (this.canvasStyleData.panel.themeColor === 'dark') {
chart_option.legend['pageIconColor'] = '#ffffff'
chart_option.legend['pageIconInactiveColor'] = '#8c8c8c'
} else {
chart_option.legend['pageIconColor'] = '#000000'
chart_option.legend['pageIconInactiveColor'] = '#8c8c8c'
if (chart_option.legend) {
if (this.canvasStyleData.panel.themeColor === 'dark') {
chart_option.legend['pageIconColor'] = '#ffffff'
chart_option.legend['pageIconInactiveColor'] = '#8c8c8c'
} else {
chart_option.legend['pageIconColor'] = '#000000'
chart_option.legend['pageIconInactiveColor'] = '#8c8c8c'
}
}
this.myEcharts(chart_option)
this.$nextTick(() => (this.linkageActive()))