mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-30 13:04:27 +08:00
Compare commits
2 Commits
master
...
ea2617ef32
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ea2617ef32 | ||
|
|
522ad09ebf |
@@ -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