Pre Merge pull request !633 from &wxr/master

pull/633/MERGE
&wxr 2025-01-04 03:34:02 +00:00 committed by Gitee
commit cbf2d8e251
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
children: [ children: [
{ {
path: '/redirect/:path(.*)', path: '/redirect/:path(.*)',
name: 'Redirect', name: 'RedirectChild',
component: () => import('@/views/Redirect/Redirect.vue'), component: () => import('@/views/Redirect/Redirect.vue'),
meta: {} meta: {}
} }

View File

@ -2,7 +2,7 @@
<div></div> <div></div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
defineOptions({ name: 'Redirect' }) defineOptions({ name: 'RedirectChild' })
const { currentRoute, replace } = useRouter() const { currentRoute, replace } = useRouter()
const { params, query } = unref(currentRoute) const { params, query } = unref(currentRoute)