Merge pull request #13067 from dataease/pr@dev-v2@chart-t-heatmap-fix
fix(图表): 修复热力图缺少颜色字段时,图表显示报错的问题
This commit is contained in:
commit
cf86f3e9ad
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user