清理快手前端无用入口

This commit is contained in:
yml
2026-05-25 20:59:57 +08:00
parent db22ff691b
commit dc099ae6f8
65 changed files with 86 additions and 7279 deletions
+1 -15
View File
@@ -1,22 +1,12 @@
import { createRouter, createWebHashHistory } from 'vue-router'
import { getAdminRole, hasAdminSession } from '@/utils/admin-auth'
const isKuaishouMode = import.meta.env.VITE_APP_MODE === 'kuaishou'
const router = createRouter({
history: createWebHashHistory(),
routes: [
{
path: '/',
redirect: isKuaishouMode ? '/admin/dashboard' : '/tx/browser',
},
{
path: '/tx',
redirect: '/tx/browser',
},
{
path: '/tx/browser',
component: () => import('@/views/tx/TencentBrowserView.vue'),
redirect: '/admin/dashboard',
},
{
path: '/claim/:token',
@@ -59,10 +49,6 @@ const router = createRouter({
path: 'tasks',
component: () => import('@/views/admin/tasks/AdminTasksView.vue'),
},
{
path: 'manual-redeem',
component: () => import('@/views/admin/manual-redeem/AdminManualRedeemView.vue'),
},
{
path: 'tasks/:taskId',
component: () => import('@/views/admin/tasks/AdminTaskDetailView.vue'),