forked from github/dataease
fix(图表): 修复堆叠条形图移除指标字段后,保存再拖入其他指标字段无法显示数据的问题
This commit is contained in:
parent
8df99d6217
commit
b2da92c5a2
@ -360,7 +360,7 @@ export class HorizontalStackBar extends HorizontalBar {
|
||||
if (mainSort || subSort) {
|
||||
return options
|
||||
}
|
||||
const quotaSort = yAxis?.[0].sort !== 'none'
|
||||
const quotaSort = yAxis?.[0]?.sort !== 'none'
|
||||
if (!quotaSort || !extStack.length || !yAxis.length) {
|
||||
return options
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user