forked from github/dataease
Merge pull request #11771 from dataease/pr@dev-v2@fix_outer-params
fix(数据大屏、仪表板): 修复嵌入式仪表板设置多个外部参数时,预览发送参数时过滤条件叠加造成的预期过滤结果不准确问题
This commit is contained in:
commit
c224b5ed25
@ -974,7 +974,7 @@ export const dvMainStore = defineStore('dataVisualization', {
|
|||||||
if (!['UserView', 'VQuery'].includes(element.component)) {
|
if (!['UserView', 'VQuery'].includes(element.component)) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
const currentFilters = element.outerParamsFilters || [] // 外部参数信息
|
const currentFilters = [] // 外部参数信息
|
||||||
// 外部参数 可能会包含多个参数
|
// 外部参数 可能会包含多个参数
|
||||||
Object.keys(params).forEach(function (sourceInfo) {
|
Object.keys(params).forEach(function (sourceInfo) {
|
||||||
// 获取外部参数的值 sourceInfo 是外部参数名称 支持数组传入
|
// 获取外部参数的值 sourceInfo 是外部参数名称 支持数组传入
|
||||||
|
Loading…
Reference in New Issue
Block a user