[issues/183]下拉搜索,使用动态字典,在线页面不报错,生成的代码报错

pull/216/head
zhangdaiscott 2022-11-03 16:04:31 +08:00
parent 088f72db62
commit c9362f142e
1 changed files with 4 additions and 1 deletions

View File

@ -53,8 +53,11 @@ export default class signMd5Utils {
if (lastpathVariable.includes('?')) { if (lastpathVariable.includes('?')) {
lastpathVariable = lastpathVariable.substring(0, lastpathVariable.indexOf('?')); lastpathVariable = lastpathVariable.substring(0, lastpathVariable.indexOf('?'));
} }
//update-begin---author:wangshuai ---date:20221103 for[issues/183]下拉搜索,使用动态字典,在线页面不报错,生成的代码报错 ------------
//解决Sign 签名校验失败 #2728 //解决Sign 签名校验失败 #2728
result['x-path-variable'] = decodeURI(lastpathVariable); //decodeURI对特殊字符没有没有编码和解码的能力需要使用decodeURIComponent
result['x-path-variable'] = decodeURIComponent(lastpathVariable);
//update-end---author:wangshuai ---date:20221103 for[issues/183]下拉搜索,使用动态字典,在线页面不报错,生成的代码报错 ------------
} }
if (urlArray && urlArray[1]) { if (urlArray && urlArray[1]) {
let paramString = urlArray[1], let paramString = urlArray[1],