Browse Source

fix: DEC-10620 改成用原生的encodeURI

qufenxi
alan 5 years ago
parent
commit
ec294a3c49
  1. 2
      src/modules/crud/crud.service.ts

2
src/modules/crud/crud.service.ts

@ -15,7 +15,7 @@ export function paramsSerializer(params: { [key: string]: any }) {
let value = ''; let value = '';
if (BI.isObject(paramValue)) { if (BI.isObject(paramValue)) {
value = BI.encodeURIComponent(JSON.stringify(paramValue)); value = encodeURI(JSON.stringify(paramValue));
} else { } else {
value = paramValue; value = paramValue;
} }

Loading…
Cancel
Save