Feature(custom): add custom update page

This commit is contained in:
Kuingsmile
2026-01-09 15:51:49 +08:00
parent 357b8cc55b
commit a29c1fa93c
20 changed files with 1514 additions and 768 deletions

View File

@@ -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'

View File

@@ -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',