Browse Source

默认答案

mzx16822 6 years ago
parent
commit
fff01276c5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/h5/datigame/js/common.js

+ 1 - 1
public/h5/datigame/js/common.js

@@ -14,7 +14,7 @@ common={
  	},GET: function (name) {
       var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
       var r = window.location.search.substr(1).match(reg);
-        if (r != null) return unescape(r[2]);
+        if (r != null) return r[2];
         return null;
      },getUserInfo:function(fn){
      	var _this=this;