1 |
- "use strict";(self["webpackChunkqwh5"]=self["webpackChunkqwh5"]||[]).push([[252],{5198:function(e,t,n){n.r(t),n.d(t,{default:function(){return d}});var o=n(3396),c=n(6583),i=n(9733),a=(0,o.aZ)({__name:"xh_demo",setup(e){const{proxy:t}=(0,o.FN)();function n(){i.F.loading({duration:0,message:"加载中...",forbidClick:!0}),t.$axios.get("/api/customer/test",{corpid:(0,c.W)("corpid"),code:(0,c.W)("code")},!0).then((e=>{a(e.rst.link),i.F.clear()})).catch((e=>{i.F.clear()}))}function a(e){let t=document.createElement("a");t.href=e,document.body.appendChild(t),t.click(),document.body.removeChild(t)}return(0,o.wF)((()=>{if((0,c.W)("againJump"))n();else{let e=encodeURIComponent(window.location.href+"&againJump=true"),t=`https://open.weixin.qq.com/connect/oauth2/authorize?appid=${(0,c.W)("corpid")}&redirect_uri=${e}&response_type=code&scope=snsapi_base&state=1&agentid=1000012#wechat_redirect`;a(t)}})),(e,t)=>((0,o.wg)(),(0,o.iD)("div",null," 晓华测试demo "))}});const r=a;var d=r}}]);
|