mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-01-24 04:21:10 +08:00
Merge 522ad09ebf into 00814a3807
This commit is contained in:
@@ -122,7 +122,7 @@ const ChatMsg: React.FC<Props> = ({
|
||||
}
|
||||
|
||||
const isMetricPie =
|
||||
metricFields.length > 0 &&
|
||||
categoryField.length > 0 &&
|
||||
metricFields?.length === 1 &&
|
||||
(isMobile ? dataSource?.length <= 5 : dataSource?.length <= 10) &&
|
||||
dataSource.every(item => item[metricFields[0].bizName] > 0);
|
||||
|
||||
Reference in New Issue
Block a user