mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-09-24 13:03:30 +08:00
添加三个实用功能
This commit is contained in:
@@ -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')
|
||||
}
|
||||
]
|
||||
|
||||
|
Reference in New Issue
Block a user