From 046476cb412140e8fc589845d5079cd784a64ba0 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@63.com> Date: 星期一, 06 九月 2021 13:45:07 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/common.js | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/static/js/common.js b/src/main/webapp/static/js/common.js index 982a8d1..f2e624c 100644 --- a/src/main/webapp/static/js/common.js +++ b/src/main/webapp/static/js/common.js @@ -208,4 +208,14 @@ ] -var popupRight; \ No newline at end of file +var popupRight; + +function RequestParameter(variable) { + var query = window.location.search.substring(1); + var vars = query.split("&"); + for (var i=0;i<vars.length;i++) { + var pair = vars[i].split("="); + if(pair[0] == variable){return pair[1];} + } + return(false); +} \ No newline at end of file -- Gitblit v1.9.1