From 2bc60ff0355d5fc95419f6fd026ebb39987ba60e Mon Sep 17 00:00:00 2001 From: taoshihan1991 <630892807@qq.com> Date: Mon, 15 Mar 2021 16:50:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BC=A0=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/gofly-front.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/gofly-front.js b/static/js/gofly-front.js index af904d7..8720b7a 100644 --- a/static/js/gofly-front.js +++ b/static/js/gofly-front.js @@ -40,6 +40,7 @@ GOFLY.init=function(config){ var refer=document.referrer?document.referrer:"无"; this.GOFLY_EXTRA.refer=refer; this.GOFLY_EXTRA.host=document.location.href; + this.GOFLY_EXTRA=JSON.stringify(_this.GOFLY_EXTRA); this.dynamicLoadJs(this.GOFLY_URL+"/static/js/functions.js?v=1",function(){ if (typeof config.GOFLY_LANG!="undefined"){ @@ -47,7 +48,7 @@ GOFLY.init=function(config){ }else{ _this.GOFLY_LANG=checkLang(); } - _this.GOFLY_EXTRA=utf8ToB64(JSON.stringify(_this.GOFLY_EXTRA)); + _this.GOFLY_EXTRA=utf8ToB64(_this.GOFLY_EXTRA); }); if (typeof $!="function"){