Merge pull request #5954 from ulleo/dev

fix: ECharts排序柱状图插件:分组轴为时间格式时不会初始化
This commit is contained in:
ulleo 2023-08-23 12:07:45 +08:00 committed by GitHub
commit 5d0b8a6425
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2272,7 +2272,7 @@ export default {
ele.filter = []
}
})
if (equalsAny(view.type, 'table-pivot', 'bar-group', 'bar-group-stack', 'flow-map') ||
if (equalsAny(view.type, 'table-pivot', 'bar-group', 'bar-group-stack', 'flow-map', 'race-bar') ||
(view.render === 'antv' && view.type === 'line')) {
view.xaxisExt.forEach(function(ele) {
if (!ele.dateStyle || ele.dateStyle === '') {