forked from github/dataease
fix(查询组): 查询组件编辑完成后,只刷新了查询组件,没有根据查询组件的选项值,重新触发一次图表数据请求
This commit is contained in:
parent
6b89782d8b
commit
574d0d3d59
@ -619,6 +619,7 @@ const autoStyle = computed(() => {
|
|||||||
<Teleport to="body">
|
<Teleport to="body">
|
||||||
<QueryConditionConfiguration
|
<QueryConditionConfiguration
|
||||||
:query-element="element"
|
:query-element="element"
|
||||||
|
@queryData="queryData"
|
||||||
ref="queryConfig"
|
ref="queryConfig"
|
||||||
></QueryConditionConfiguration>
|
></QueryConditionConfiguration>
|
||||||
</Teleport>
|
</Teleport>
|
||||||
|
@ -777,7 +777,7 @@ const handleBeforeClose = () => {
|
|||||||
handleDialogClick()
|
handleDialogClick()
|
||||||
dialogVisible.value = false
|
dialogVisible.value = false
|
||||||
}
|
}
|
||||||
|
const emits = defineEmits(['queryData'])
|
||||||
const confirmClick = () => {
|
const confirmClick = () => {
|
||||||
if (validate()) return
|
if (validate()) return
|
||||||
inputCom.value?.mult?.handleClickOutside?.()
|
inputCom.value?.mult?.handleClickOutside?.()
|
||||||
@ -796,6 +796,9 @@ const confirmClick = () => {
|
|||||||
queryElement.value.cascade = cloneDeep(cascadeArr)
|
queryElement.value.cascade = cloneDeep(cascadeArr)
|
||||||
cascadeArr = []
|
cascadeArr = []
|
||||||
snapshotStore.recordSnapshotCache()
|
snapshotStore.recordSnapshotCache()
|
||||||
|
nextTick(() => {
|
||||||
|
emits('queryData')
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const cancelValueSource = () => {
|
const cancelValueSource = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user