style(图表): 流向地图取消维度字段的自定义排序

This commit is contained in:
jianneng-fit2cloud 2024-07-30 13:46:12 +08:00
parent 72e5480628
commit 8030f84945

View File

@ -168,7 +168,7 @@ const valueFormatter = () => {
emit('valueFormatter', item.value)
}
const showCustomSort = item => {
if (props.chart.type === 'symbolic-map') {
if (props.chart.type === 'symbolic-map' || props.chart.type === 'flow-map') {
return false
}
return !item.chartId && (item.deType === 0 || item.deType === 5)