From a13a93a493e7e94e28b2225c26e7e13b52d3288c Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Mon, 12 Apr 2021 19:48:45 +0800 Subject: [PATCH] 20210412 tqq环境 --- zq-erp/src/main/resources/static/js/systools/AjaxProxyVue.js | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/zq-erp/src/main/resources/static/js/systools/AjaxProxyVue.js b/zq-erp/src/main/resources/static/js/systools/AjaxProxyVue.js index b11d542..ef97725 100644 --- a/zq-erp/src/main/resources/static/js/systools/AjaxProxyVue.js +++ b/zq-erp/src/main/resources/static/js/systools/AjaxProxyVue.js @@ -240,7 +240,16 @@ return root.children; }, - + /** json对象转Url参数**/ + jsonToUrlParam:function(obj){ + let str=""; + for(item in obj){ + if(obj[item]){ + str+=item+"="+obj[item]+"&" + } + } + return str; + } -- Gitblit v1.9.1