fix: URI编码

This commit is contained in:
xiongxiaoyang
2024-03-03 11:10:46 +08:00
parent 34d211afbf
commit 9d4dc409c6
23 changed files with 253 additions and 235 deletions

View File

@ -190,7 +190,7 @@
} else if (data.code == 1001) {
//未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href);
location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else {
layer.alert(data.msg);