【新增】AI:API 密钥管理

This commit is contained in:
YunaiV
2024-05-09 23:02:57 +08:00
parent 5525bc2257
commit 02fe7e31d0
5 changed files with 359 additions and 4 deletions

View File

@@ -83,7 +83,7 @@ router.beforeEach(async (to, from, next) => {
const redirectPath = from.query.redirect || to.path
// 修复跳转时不带参数的问题
const redirect = decodeURIComponent(redirectPath as string)
const { basePath, paramsObject: query } = parseURL(redirect)
const { paramsObject: query } = parseURL(redirect)
const nextData = to.path === redirect ? { ...to, replace: true } : { path: redirect, query }
next(nextData)
} else {