From 8dcfae4fff98fbbb19ff46bd9750f25bc56801a9 Mon Sep 17 00:00:00 2001
From: zhaojs <349234519@qq.com>
Date: 星期一, 31 七月 2023 10:42:20 +0800
Subject: [PATCH] Merge branch 'release/v1.1.5发布'

---
 h5/apph5/utils/ComUtils.js |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/h5/apph5/utils/ComUtils.js b/h5/apph5/utils/ComUtils.js
index e69de29..0db476e 100644
--- a/h5/apph5/utils/ComUtils.js
+++ b/h5/apph5/utils/ComUtils.js
@@ -0,0 +1,10 @@
+function getUrlPar(name) {
+	var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
+	var r = window.location.search.substr(1).match(reg);
+	if (r != null) return unescape(r[2]);
+	return null;
+}
+
+module.exports = {
+    getUrlPar
+}
\ No newline at end of file

--
Gitblit v1.9.3