feat(api): 添加任务创建和执行功能
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
import type { RouteRecordRaw } from 'vue-router'
|
||||
|
||||
import { isAppInitialized } from '@/utils/config'
|
||||
|
||||
const routes: RouteRecordRaw[] = [
|
||||
{
|
||||
path: '/',
|
||||
@@ -87,7 +89,6 @@ const router = createRouter({
|
||||
routes,
|
||||
})
|
||||
|
||||
import { isAppInitialized } from '@/utils/config'
|
||||
|
||||
// // 添加路由守卫,确保在生产环境中也能正确进入初始化页面
|
||||
// router.beforeEach(async (to, from, next) => {
|
||||
|
||||
Reference in New Issue
Block a user