mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
Merge pull request #13067 from dataease/pr@dev-v2@chart-t-heatmap-fix
fix(图表): 修复热力图缺少颜色字段时,图表显示报错的问题
This commit is contained in:
@@ -627,7 +627,7 @@ const checkFieldIsAllowEmpty = (allField?) => {
|
||||
if (
|
||||
!value['allowEmpty'] &&
|
||||
value['limit'] &&
|
||||
view.value?.[key]?.length < parseInt(value['limit'])
|
||||
(!view.value?.[key] || view.value?.[key]?.length < parseInt(value['limit']))
|
||||
) {
|
||||
showEmpty.value = true
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user