Merge pull request #11919 from dataease/pr@dev-v2@fix_outer-filter

fix(数据大屏): 修复弹窗区设置过滤规则默认参数,随后将这个规则作为外部参数传递图表可能请求两次问题
This commit is contained in:
王嘉豪 2024-09-02 18:28:54 +08:00 committed by GitHub
commit 995392500a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -25,7 +25,7 @@
/>
</div>
<div
v-else
v-else-if="showPosition === 'popEdit'"
class="pop-area-main"
:class="{ 'pop-area-active': areaActive }"
:style="baseStyle"

View File

@ -1036,6 +1036,8 @@ export const dvMainStore = defineStore('dataVisualization', {
// 查询组件除了时间组件 其他入参只支持文本 这里全部转为文本
queryParams = paramValue.map(number => String(number))
}
filterItem.defaultMapValue = []
filterItem.mapValue = []
filterItem.defaultValueCheck = true
filterItem.timeType = 'fixed'
if (['0', '2'].includes(filterItem.displayType)) {