fix: 自定义请求保存重新打开多一个query参数

This commit is contained in:
chenjianxing 2021-10-14 16:11:52 +08:00 committed by jianxing
parent 00299d7f41
commit 6b9e9c1f5e
1 changed files with 3 additions and 0 deletions

View File

@ -96,6 +96,9 @@ export default {
if (paramUrl && this.isUrl) {
this.request.url = decodeURIComponent(this.request.url.substr(0, this.request.url.indexOf("?")));
}
if (this.isCustomizeReq) {
this.request.path = this.request.url;
}
}
},
addProtocol(url) {