Merge pull request #11256 from dataease/pr@dev-v2@chart-flow-map-custom-sort

style(图表): 流向地图取消维度字段的自定义排序
This commit is contained in:
jianneng-fit2cloud 2024-07-30 13:47:09 +08:00 committed by GitHub
commit 6551757ac4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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)