fix(查询组件): 查询条件设置时,"图表所使用的数据集不同, 无法展示配置项",这样处理的原因是什么? #10821

This commit is contained in:
dataeaseShu 2024-07-10 14:49:31 +08:00 committed by wangjiahao
parent fc0daad7ce
commit 3275b63b62

View File

@ -178,7 +178,7 @@ const showTypeError = computed(() => {
})
const showDatasetError = computed(() => {
if (!curComponent.value) return false
if (!curComponent.value || curComponent.value.displayType !== '9') return false
if (!curComponent.value.checkedFields?.length) return false
if (!fields.value?.length) return false
let displayField = null