提交 ba8043e5 编写于 作者: 刘英杰's avatar 刘英杰

V20241022 房间开放时间数据显示优化

上级 4ff08cb9
流水线 #31062 已通过 ,包含阶段
in 1 minute 和 1 second
import{f as u,h as l,u as p,i as f,c as m,a as d,j as _,L as k,o as y,k as g,p as h,l as v,n as x,q as T,r as q,t as I}from"./index-BDSf2l3r.js";const R={style:{display:"flex","justify-content":"center","margin-top":"50%"}},j={__name:"SSO",setup(A){const n=u(),c=l(),t=p();function a(){q().then(o=>{o.response.role_list.forEach((e,s)=>{e==="1"&&o.response.role_list.splice(s,1)}),n.setUserInfo({...o.response,role:o.response.role_list[0]}),I().then(e=>{c.setDomainInfo(e.response)}),t.replace({name:"welcome"})})}function r(){t.replace({name:"403"})}const i=async()=>{const o={wx:()=>{h({token:t.currentRoute.value.query.token}).then(e=>{e.code!==1?r():(n.setToken(e.response),a())})},asc:async()=>{v({token:t.currentRoute.value.query.token}).then(e=>{e.code!==1?r():(n.setToken(e.response),a())})},first:()=>{let e={sign:t.currentRoute.value.query.sign,code:t.currentRoute.value.query.code,timestamp:t.currentRoute.value.query.timestamp};x(e).then(s=>{s.code!==1?r():(n.setToken(s.response),a())})},test:()=>{T({card:"syjs295"}).then(e=>{e.code!==1?r():(n.setToken(e.response),a())})}};t.currentRoute.value.query.token==="test"?await o.test():o[t.currentRoute.value.query.type]()};return f(()=>{i()}),(o,e)=>{const s=k;return y(),m("div",R,[d(s,{size:"38px",color:"#1989fa",vertical:""},{default:_(()=>[g(" 登录中")]),_:1})])}}};export{j as default};
import{s as t}from"./index-C0IfWutO.js";import{w as s}from"./index-BDSf2l3r.js";const a=s(t);export{a as P};
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或