Browse Source

online下拉搜索组件,配置字典sql带'=' 提示sign失败问题处理

zhangdaiscott 3 years ago
parent
commit
75be8dd5b1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ant-design-vue-jeecg/src/utils/encryption/signMd5Utils.js

+ 1 - 1
ant-design-vue-jeecg/src/utils/encryption/signMd5Utils.js

@@ -56,7 +56,7 @@ export default class signMd5Utils {
         lastpathVariable = lastpathVariable.substring(0, lastpathVariable.indexOf("?"));
       }
       //解决Sign 签名校验失败 #2728
-      result["x-path-variable"] = decodeURI(lastpathVariable);
+      result["x-path-variable"] = decodeURIComponent(lastpathVariable);
     }
     if (urlArray && urlArray[1]) {
       let paramString = urlArray[1], paramResult;