mirror of
https://github.com/dataease/dataease.git
synced 2026-05-16 05:50:45 +08:00
refactor(图表): 去除矩形树图的排序
This commit is contained in:
@@ -195,7 +195,7 @@ const showCustomSort = item => {
|
||||
const showSort = () => {
|
||||
const { type: chartType } = props.chart
|
||||
const { type: propType } = props
|
||||
const notShowSort = ['word-cloud', 'stock-line'].includes(chartType)
|
||||
const notShowSort = ['word-cloud', 'stock-line', 'treemap'].includes(chartType)
|
||||
if (notShowSort || propType === 'extColor') {
|
||||
return false
|
||||
}
|
||||
|
||||
@@ -320,7 +320,9 @@ const showSort = computed(() => {
|
||||
props.type !== 'extLabel' &&
|
||||
props.type !== 'extTooltip' &&
|
||||
props.type !== 'extBubble' &&
|
||||
!['indicator', 'liquid', 'gauge', 'word-cloud', 'stock-line'].includes(chart.value.type) &&
|
||||
!['indicator', 'liquid', 'gauge', 'word-cloud', 'stock-line', 'treemap'].includes(
|
||||
chart.value.type
|
||||
) &&
|
||||
!chart.value.type.includes('chart-mix')
|
||||
)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user