From 75eb3da88a6a2a3f21add3b0742ad222f06e1cf9 Mon Sep 17 00:00:00 2001 From: chenxueli <31118423+zjcxl@users.noreply.github.com> Date: Tue, 5 Dec 2023 18:08:42 +0800 Subject: [PATCH] fix: route params (#44) --- src/pages/hi/[name].vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/hi/[name].vue b/src/pages/hi/[name].vue index 0cb09053..c8215da2 100644 --- a/src/pages/hi/[name].vue +++ b/src/pages/hi/[name].vue @@ -1,5 +1,5 @@ @@ -7,7 +7,7 @@ const router = useRouter()
- Hi, {{ props.name }} + Hi, {{ params.name }}
Dynamic route!