RuoYi
2021-07-29 7a35c474d6153189957422264b57df7ce1daed77
ruoyi-ui/src/utils/ruoyi.js
@@ -185,15 +185,15 @@
        var part = encodeURIComponent(propName) + "=";
        if (value !== null && typeof(value) !== "undefined") {
            if (typeof value === 'object') {
            for (const key of Object.keys(value)) {
               let params = propName + '[' + key + ']';
               var subPart = encodeURIComponent(params) + "=";
               result += subPart + encodeURIComponent(value[key]) + "&";
            }
                for (const key of Object.keys(value)) {
                    let params = propName + '[' + key + ']';
                    var subPart = encodeURIComponent(params) + "=";
                    result += subPart + encodeURIComponent(value[key]) + "&";
                }
            } else {
            result += part + encodeURIComponent(value) + "&";
            }
      }
                result += part + encodeURIComponent(value) + "&";
           }
        }
    }
   return result
    return result
}