Browse Source

fix: vue-router warning

main
刘凯 11 months ago
parent
commit
82938c08fd
  1. 2
      src/router/routes/basic.ts

2
src/router/routes/basic.ts

@ -4,7 +4,7 @@ import { EXCEPTION_COMPONENT, LAYOUT, PAGE_NOT_FOUND_NAME, REDIRECT_NAME } from
// 404 on a page
export const PAGE_NOT_FOUND_ROUTE: AppRouteRecordRaw = {
path: '/:path(.*)*',
name: PAGE_NOT_FOUND_NAME,
name: `Parent${PAGE_NOT_FOUND_NAME}`,
component: LAYOUT,
meta: {
title: 'ErrorPage',

Loading…
Cancel
Save