From 47b7d785de5f2e7db456e90612eb3b4ec1f4222d Mon Sep 17 00:00:00 2001
From: 王佳豪 <g675230687@126.com>
Date: 星期四, 08 四月 2021 09:14:10 +0800
Subject: [PATCH] 1.0.6 pda调整优化
---
src/main/webapp/static/js/common.js | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/main/webapp/static/js/common.js b/src/main/webapp/static/js/common.js
index b5a901e..3004a23 100644
--- a/src/main/webapp/static/js/common.js
+++ b/src/main/webapp/static/js/common.js
@@ -7,6 +7,17 @@
// 璇︽儏绐楀彛-瀹藉害
var detailWidth = '90%';
+function getQueryVariable(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);
+}
+
// 闈炵┖鍒ゆ柇
function isEmpty(obj){
return typeof obj == "undefined" || obj == null || obj === "";
--
Gitblit v1.9.1