Skip to content

Commit

Permalink
chore: update demo
Browse files Browse the repository at this point in the history
  • Loading branch information
shunnNet committed Oct 16, 2024
1 parent 303eef9 commit 4bc07ad
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
8 changes: 4 additions & 4 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ const navs = [
name: 'PageNestedModal',
title: 'Nested',
},
// {
// name: 'PagePrepare',
// title: 'API Required',
// },
{
name: 'PagePrepare',
title: 'API Required',
},
]
const { openModal } = useModalRoute()
Expand Down
32 changes: 16 additions & 16 deletions src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,23 +84,23 @@ export const router = createModalRouter({
},
],
},
// {
// name: 'PagePrepare',
// path: '/prepare',
// component: () => import('./pages/prepare-open/index.vue'),
// children: [
// {
// name: 'PagePrepareModalC',
// path: 'modal-c',
// component: () => import('./pages/prepare-open/ModalC.vue'),
// meta: {
// modal: true,
// direct: true,
// },
{
name: 'PagePrepare',
path: '/prepare',
component: () => import('./pages/prepare-open/index.vue'),
children: [
{
name: 'PagePrepareModalC',
path: 'modal-c',
component: () => import('./pages/prepare-open/ModalC.vue'),
meta: {
modal: true,
direct: true,
},

// },
// ],
// },
},
],
},
],
hash: [
{
Expand Down

0 comments on commit 4bc07ad

Please sign in to comment.