mirror of
https://github.com/dataease/dataease.git
synced 2026-06-13 09:04:38 +08:00
refactor(图表): 优化Tab标签切换内部组件刷新逻辑
This commit is contained in:
@@ -488,20 +488,6 @@ watch(
|
||||
{ deep: true }
|
||||
)
|
||||
|
||||
watch(
|
||||
() => editableTabsValue.value,
|
||||
() => {
|
||||
nextTick(() => {
|
||||
useEmitt().emitter.emit('tabCanvasChange-' + activeCanvasId.value)
|
||||
})
|
||||
},
|
||||
{ deep: true }
|
||||
)
|
||||
|
||||
const activeCanvasId = computed(() => {
|
||||
return element.value.id + '--' + editableTabsValue.value
|
||||
})
|
||||
|
||||
const reShow = () => {
|
||||
state.tabShow = false
|
||||
nextTick(() => {
|
||||
|
||||
Reference in New Issue
Block a user