diff --git a/src/@layouts/components/VerticalNavLayout.vue b/src/@layouts/components/VerticalNavLayout.vue index c89e226d..7cb70e83 100644 --- a/src/@layouts/components/VerticalNavLayout.vue +++ b/src/@layouts/components/VerticalNavLayout.vue @@ -52,7 +52,7 @@ export default defineComponent({ 'main', { class: 'layout-page-content' }, h(Transition, { name: 'fade-slide', mode: 'out-in', appear: true }, - h('section', { class: 'page-content-container' }, slots.default?.()), + () => h('section', { class: 'page-content-container' }, slots.default?.()), ), ) diff --git a/src/components/cards/BangumiPersonCard.vue b/src/components/cards/BangumiPersonCard.vue index cfec21e2..af950f5f 100644 --- a/src/components/cards/BangumiPersonCard.vue +++ b/src/components/cards/BangumiPersonCard.vue @@ -37,7 +37,7 @@ function goPersonDetail() {