添加三个实用功能

This commit is contained in:
fofolee
2022-04-15 17:45:58 +08:00
parent 8794a02f39
commit 4e879e6dc2
5 changed files with 221 additions and 11 deletions

View File

@@ -2,49 +2,54 @@ const routes = [{
path: '/configuration',
name: 'configuration',
component: () =>
import ('pages/ConfigurationPage.vue')
import('pages/ConfigurationPage.vue')
},
{
path: '/code',
name: 'code',
component: () =>
import ('pages/RunCodePage.vue')
import('pages/RunCodePage.vue')
},
{
path: '/newcommand',
name: 'newcommand',
component: () =>
import ('pages/ConfigurationPage.vue')
import('pages/ConfigurationPage.vue')
},
{
path: '/:type(default|files|img|key|regex|window|professional)_:uid(\\w+)',
name: 'command',
component: () =>
import ('pages/CommandPage.vue')
import('pages/CommandPage.vue')
},
{
path: '/panel_:tags(\\w+)',
name: 'panel',
component: () =>
import ('pages/ConfigurationPage.vue')
import('pages/ConfigurationPage.vue')
},
{
path: '/needupdate',
name: 'needupdate',
props: true,
component: () =>
import ('pages/updateWarningPage.vue')
import('pages/updateWarningPage.vue')
},
{
path: '/loading',
name: 'loading',
component: () =>
import ('pages/LoadingPage.vue')
import('pages/LoadingPage.vue')
}, {
path: '/share',
name: 'share',
component: () =>
import ('pages/ShareCenterPage.vue')
import('pages/ShareCenterPage.vue')
},
{
path: '/feature_:featuretype(\\w+)',
name: 'feature',
component: () => import('pages/quickFeaturesPage.vue')
}
]