fix(仪表板): 修复新建仪表板并将图表添加至tab组件中提示异常问题

This commit is contained in:
wangjiahao 2024-07-24 17:38:14 +08:00
parent 7ca203ec17
commit 80f1c8dbe0

View File

@ -260,9 +260,11 @@ function handleCommand(command) {
const reloadLinkage = () => {
//
getPanelAllLinkageInfo(dvInfo.value.id).then(rsp => {
dvMainStore.setNowPanelTrackInfo(rsp.data)
})
if (dvInfo.value.id) {
getPanelAllLinkageInfo(dvInfo.value.id).then(rsp => {
dvMainStore.setNowPanelTrackInfo(rsp.data)
})
}
}
const componentMoveIn = component => {