You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
610 B

1 month ago
import { createRouter, createWebHashHistory, createWebHistory } from 'vue-router';
import { qiankunWindow } from 'vite-plugin-qiankun/dist/helper';
const router = createRouter({
history: createWebHashHistory(qiankunWindow.__POWERED_BY_QIANKUN__ ? '/highScoreVisualization' : '/'),
routes: [
{
path: '/',
redirect: '/highScoreVisualization' // 自动跳转到 /highScoreVisualization
},
1 month ago
{
path: '/highScoreVisualization',
name: 'highScoreVisualization',
component: () => import('../views/highScore/dailyMonitoring/index.vue')
}
]
});
1 month ago
export default router;