forked from github/dataease
fix(仪表板): 修复默认仪表板未获取源仪表板跳转信息的问题
This commit is contained in:
parent
12fb8b6d21
commit
7b1d1a8be0
@ -192,12 +192,14 @@ export function initPanelData(panelId, useCache = false, callback) {
|
||||
watermarkOpen: response.data.watermarkOpen,
|
||||
watermarkInfo: watermarkInfo
|
||||
})
|
||||
const targetPanelId = response.data.panelType==='system'?response.data.source:panelId
|
||||
if(response.data.type==='default')
|
||||
// 刷新联动信息
|
||||
getPanelAllLinkageInfo(panelId).then(rsp => {
|
||||
getPanelAllLinkageInfo(targetPanelId).then(rsp => {
|
||||
store.commit('setNowPanelTrackInfo', rsp.data)
|
||||
})
|
||||
// 刷新跳转信息
|
||||
queryPanelJumpInfo(panelId).then(rsp => {
|
||||
queryPanelJumpInfo(targetPanelId).then(rsp => {
|
||||
store.commit('setNowPanelJumpInfo', rsp.data)
|
||||
})
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user