mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-06-03 06:41:09 +08:00
fix encodeURIComponent
This commit is contained in:
@@ -307,7 +307,7 @@ const dropdownItems = ref([
|
||||
function addUrlQuery(url: string, name: string, value: any) {
|
||||
if (!url || !name || !value) return url
|
||||
const separator = url.includes("?") ? "&" : "?"
|
||||
return url + separator + name + "=" + value
|
||||
return url + separator + name + "=" + encodeURIComponent(value)
|
||||
}
|
||||
|
||||
// 重载页面
|
||||
|
||||
Reference in New Issue
Block a user