Kaynağa Gözat

fix: 修复组件在keepAlive下刷新不触发onActivated钩子问题

zws 7 ay önce
ebeveyn
işleme
e76eda8af3

+ 1 - 1
src/layout/components/TagsView/src/TagsView.vue

@@ -243,7 +243,7 @@ const move = (to: number) => {
   start()
 }
 
-onMounted(() => {
+onBeforeMount(() => {
   initTags()
   addTags()
 })