From 97981d5401b7d9ea734e450855b8b8c270c3d9e4 Mon Sep 17 00:00:00 2001 From: cat_shark <1716967236@qq.com> Date: Sat, 30 May 2026 15:51:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20RouterView=20?= =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E5=B5=8C=E5=A5=97=20Transition=20=E7=9A=84?= =?UTF-8?q?=E5=BC=83=E7=94=A8=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 改用 Vue Router 推荐的 slot props 模式,避免未来版本兼容性问题 --- src/App.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/App.vue b/src/App.vue index 3ba0284..17acf76 100644 --- a/src/App.vue +++ b/src/App.vue @@ -15,9 +15,11 @@ const route = useRoute(); - - - + + + + +