forked from github/dataease
Merge pull request #10598 from dataease/pr@dev-v2_st
fix(查询组件): 仪表板在编辑状态时,新建数据集后,查询条件不能获取最新数据集
This commit is contained in:
commit
f8525ea4ed
@ -540,7 +540,11 @@ const autoStyle = computed(() => {
|
||||
</div>
|
||||
</div>
|
||||
<div class="query-select">
|
||||
<StyleInject :customStyle="customStyle" :config="ele"></StyleInject>
|
||||
<StyleInject
|
||||
v-if="customStyle.queryConditionWidth !== 0"
|
||||
:customStyle="customStyle"
|
||||
:config="ele"
|
||||
></StyleInject>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -775,9 +775,7 @@ const setActiveSelectTab = (arr, id) => {
|
||||
}
|
||||
|
||||
const init = (queryId: string) => {
|
||||
if (!datasetTree.value.length) {
|
||||
initDataset()
|
||||
}
|
||||
initDataset()
|
||||
renameInput.value = []
|
||||
handleCondition({ id: queryId })
|
||||
cascadeArr = cloneDeep(queryElement.value.cascade || [])
|
||||
|
Loading…
Reference in New Issue
Block a user