修整了代码, 移除不必要导入, 使代码紧凑
All checks were successful
Build / build-and-test (push) Successful in 29s

[UX]
在路由加载时如果有新的路由请求直接拦截取消 (beforeEach 路由守卫)
This commit is contained in:
2025-05-31 19:05:56 +08:00
parent 7c46970dfe
commit 3a6d10c2ec
21 changed files with 242 additions and 446 deletions

View File

@ -1,5 +1,5 @@
import { defineStore } from 'pinia'
import { useApiRequest } from '../composables/apiRequest'
import { useApiRequest } from '../composables/apiRequest.js'
export const useApiStore = defineStore('api', () => {
async function getWork(workId, chapterId) {