Skip to content

Commit e76eda8

Browse files
committed
fix: 修复组件在keepAlive下刷新不触发onActivated钩子问题
1 parent 4fe158b commit e76eda8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/layout/components/TagsView/src/TagsView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ const move = (to: number) => {
243243
start()
244244
}
245245
246-
onMounted(() => {
246+
onBeforeMount(() => {
247247
initTags()
248248
addTags()
249249
})

0 commit comments

Comments
 (0)