mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-08-03 20:28:11 +08:00
✨ Feature(custom): add custom update page
This commit is contained in:
@@ -14,5 +14,6 @@ export const SETTING_PAGE = 'SettingPage'
|
||||
export const SHORTKEY_PAGE = 'ShortkeyPage'
|
||||
export const TOOLBOX_CONFIG_PAGE = 'ToolBoxPage'
|
||||
export const TRAY_PAGE = 'TrayPage'
|
||||
export const UPDATE_PAGE = 'UpdatePage'
|
||||
export const UPLOAD_PAGE = 'UploadPage'
|
||||
export const UPLOADER_CONFIG_PAGE = 'UploaderConfigPage'
|
||||
|
||||
@@ -15,6 +15,7 @@ import RenamePage from '@/pages/RenamePage.vue'
|
||||
import ShortKeyPage from '@/pages/ShortKey.vue'
|
||||
import Toolbox from '@/pages/Toolbox.vue'
|
||||
import TrayPage from '@/pages/TrayPage.vue'
|
||||
import UpdatePage from '@/pages/UpdatePage.vue'
|
||||
import UploadPage from '@/pages/Upload.vue'
|
||||
import UploaderConfigPage from '@/pages/UploaderConfigPage.vue'
|
||||
import * as config from '@/router/config'
|
||||
@@ -114,6 +115,11 @@ export default createRouter({
|
||||
name: config.TOOLBOX_CONFIG_PAGE,
|
||||
component: Toolbox,
|
||||
},
|
||||
{
|
||||
path: '/update-page',
|
||||
name: config.UPDATE_PAGE,
|
||||
component: UpdatePage,
|
||||
},
|
||||
{
|
||||
path: '/:pathMatch(.*)*',
|
||||
redirect: '/main-page/upload',
|
||||
|
||||
Reference in New Issue
Block a user