Merge pull request #10880 from dataease/pr@dev-v2_st

fix(查询组件): 查询条件设置时,"图表所使用的数据集不同, 无法展示配置项",这样处理的原因是什么? #10821
This commit is contained in:
dataeaseShu 2024-07-10 14:50:18 +08:00 committed by GitHub
commit 3402f28c57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -212,7 +212,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