Merge branch 'fix/batch-run-app-search-params-lost' into deploy/dev

This commit is contained in:
NFish
2025-06-30 10:36:21 +08:00
8 changed files with 33 additions and 22 deletions

View File

@ -110,7 +110,7 @@ function unicodeToChar(text: string) {
function requiredWebSSOLogin(message?: string, code?: number) {
const params = new URLSearchParams()
params.append('redirect_url', globalThis.location.pathname)
params.append('redirect_url', encodeURIComponent(`${globalThis.location.pathname}${globalThis.location.search}`))
if (message)
params.append('message', message)
if (code)