From 3c38598df86e697268b14865e68159d6ba989285 Mon Sep 17 00:00:00 2001 From: 819527061@qq.com <123456> Date: 星期四, 11 四月 2024 15:32:04 +0800 Subject: [PATCH] docs: 首次加载白屏添加loading --- src/components/page/IndexXTYH.vue | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/components/page/IndexXTYH.vue b/src/components/page/IndexXTYH.vue index 41c06de..3e9c0d0 100644 --- a/src/components/page/IndexXTYH.vue +++ b/src/components/page/IndexXTYH.vue @@ -385,13 +385,12 @@ if(this.type == 0 ){ //寰俊锛岃幏鍙朿ode if(this.code==null||this.code==""){ - // var url = encodeURIComponent("http://hesuancj.cn/#/index2?code2="+this.code2); + var url = encodeURIComponent("http://hesuancj.cn/#/index2?code2="+this.code2); // window.location.href = `http://192.168.0.8:8082/#/Index2?code=${encodeURIComponent('123')}&state=STATE?code2=${encodeURIComponent(this.code2)}` // window.location.href =url; window.location.href ="https://open.weixin.qq.com/connect/oauth2/authorize?" + "appid=wx46e756aed958f895&redirect_uri="+url+"&response_type=code" + "&scope=snsapi_userinfo&state=STATE#wechat_redirect"; - "&scope=SCOPE&state=STATE#wechat_redirect"; }else{ this.$byutil.postData(this, this.$systemconfig.basePath + '/ffzf/api/getOpenId', {id:this.outParkId,code:this.code}, res => { if(res.code === 0){ -- Gitblit v1.9.1