From 1d3bb76d19961a6e165a7e234ccf17b5eb3a84d9 Mon Sep 17 00:00:00 2001 From: 王佳豪 <g675230687@126.com> Date: 星期二, 01 六月 2021 13:02:57 +0800 Subject: [PATCH] 宏挺补仓功能(未完 --- src/main/webapp/static/js/common.js | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/static/js/common.js b/src/main/webapp/static/js/common.js index 982a8d1..25d7913 100644 --- a/src/main/webapp/static/js/common.js +++ b/src/main/webapp/static/js/common.js @@ -208,4 +208,16 @@ ] -var popupRight; \ No newline at end of file +var popupRight; + +function RequestParameter() { + var url = window.location.search; //鑾峰彇url涓�"?"绗﹀悗鐨勫瓧涓� + var theRequest = new Object(); + if (url.indexOf("?") != -1) { + var str = url.substr(1); + var strs = str.split("&"); + for (var i = 0; i < strs.length; i++) { + theRequest[strs[i].split("=")[0]] = (strs[i].split("=")[1]); + } + } +} \ No newline at end of file -- Gitblit v1.9.1