mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 19:42:56 +08:00
refactor: 仪表板跳转时首次刷新强制使用跳转条件
This commit is contained in:
parent
f9a8518975
commit
1366892de7
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div v-loading="dataLoading" class="bg">
|
||||
<Preview v-show="!dataLoading" />
|
||||
<Preview v-if="!dataLoading" />
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
@ -53,8 +53,10 @@ export default {
|
||||
sourceFieldId: jumpParam.sourceFieldId,
|
||||
targetPanelId: this.panelId
|
||||
}
|
||||
this.dataLoading = true
|
||||
// 刷新跳转目标仪表板联动信息
|
||||
queryTargetPanelJumpInfo(jumpRequestParam).then(rsp => {
|
||||
this.dataLoading = false
|
||||
this.$store.commit('setNowTargetPanelJumpInfo', rsp.data)
|
||||
this.$store.commit('addViewTrackFilter', jumpParam)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user