Lita-Tako 4 months ago
parent
commit
6c0f3d26c3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/api/system/index.js

+ 1 - 1
src/api/system/index.js

@@ -174,7 +174,7 @@ export function getgetTreeList(page, query) {
174 174
  * {"funcId":40,"funcName":"待办与审批","funcUrl":"123","funcSort":1,"parentId":8,"icoUrl":null,"status":null,"remark":null,"delFlag":null,"children":null}
175 175
  */
176 176
 export const saveFuncInfo = (data) => {
177
-  const formData = Object.keys(data).map(k => `${k}=${encodeURIComponent(data[k])}`).join('&').replaceAll('_____PLACEHOLDER_PLUS_____', '+')
177
+  const formData = Object.keys(data).map(k => `${k}=${encodeURIComponent(data[k])}`).join('&').replace(/_____PLACEHOLDER_PLUS_____/g, '+')
178 178
   return request({
179 179
     url: `${depot_system}/funcInfo/save`,
180 180
     method: 'post',