南昌市物联网技防平台-前端
zengh
2021-02-21 ab0598cc26762aedae33894fc78462989e8302b4
public/map/index.html
@@ -102,11 +102,9 @@
<script>
  var openId = getQueryStringByKey('openid');
  if (openId && openId != '') {
    init(openId)
  }
  function getQueryStringByKey(key) {
    return (document.location.search.match(new RegExp("(?:^\\?|&)" + key + "=(.*?)(?=&|$)")) || ['', null])[1];