forked from github/dataease
fix(数据大屏): 修复大屏预览后重新进入编辑界面导致的Tab时钟不显示等问题
This commit is contained in:
parent
28d30113f1
commit
8859315dfe
@ -292,6 +292,7 @@ const componentMoveIn = component => {
|
||||
if (editableTabsValue.value === tabItem.name) {
|
||||
//获取主画布当前组件的index
|
||||
const curIndex = findComponentIndexById(component.id)
|
||||
if (curIndex > -1) {
|
||||
// 从主画布中移除
|
||||
if (isDashboard()) {
|
||||
eventBus.emit('removeMatrixItem-canvas-main', curIndex)
|
||||
@ -319,6 +320,7 @@ const componentMoveIn = component => {
|
||||
tabItem.componentData.push(component)
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
reloadLinkage()
|
||||
|
Loading…
Reference in New Issue
Block a user