PageSourceSearch

https://convbox-testing.web.app/assets/VerificationCode-e784c734.js

js convbox-testing.web.app collected 2026-10-03 12:21:30 UTC 1,839 bytes, 1 lines download raw bytes

1import{er as x,r as m,ev as b,ew as v,ex as w,em as s,ej as o,eq as i}from"./vendor-ebbd0c14.js";import{P as I,T as r}from"./antd-vendor-1ef10a0e.js";import{s as t,H as S}from"./index.module-37d0bcab.js";import{g as T,s as V}from"./mobile-053f6e7e.js";import"./__commonjsHelpers__-042e6b4d.js";import"./lodash-f8e83f2f.js";import"./index-7bd8fc5a.js";import"./sentry-faa7788c.js";import"./i18Next-5334b98f.js";import"./reactQuery-7b96d7b3.js";import"./shopifyPolar-9d472cf6.js";import"./axios-14031435.js";const B=()=>{const p=x(),[j,h]=m.useState(""),g=b(),a=new URLSearchParams(g.search),c=a.get("phone"),l=a.get("verificationId"),d=a.get("linkCode"),f=a.get("shopName"),u=e=>{h(e),e.length===6&&(r.show({icon:"loading",content:"验证中…"}),N(e,l||""))},{loading:C,run:N,data:n}=v((e,k)=>V(e,k),{manual:!0,onSuccess:e=>{r.clear(),console.log(e,"res")},onError:e=>{r.clear(),console.log(e,"err")}});return console.log(n,"data"),console.log(C),m.useEffect(()=>{n?.isValid&&T({linkCode:d||"",verificationId:l||""}).then(e=>{console.log(e,"response"),e.token&&(w.set("rto-accessToken",e.token),p(`/mobile/business-dashboard?shopName=${f}&linkCode=${d}`))}).catch(e=>{console.error("获取 token 失败",e)})},[n]),s("div",{children:[o(S,{}),s("div",{className:i(t["login-box"]),children:[s("p",{className:i(t["login-info"]),children:[o("span",{children:"输入验证码"}),o("br",{})]}),s("p",{className:i(t["login-phone"]),children:[o("span",{children:"查看Dashboard,请输入手机号"}),o("br",{}),s("span",{children:[c?.slice(0,3),"*****",c?.slice(7),"收到的6位数验证码"]})]}),o("div",{className:"flex w-full",children:o(I,{seperated:!0,plain:!0,className:"yzm-box",onChange:u})}),n?.isValid===!1&&o("p",{className:i(t["login-errStatus"]),children:"验证码输入有误,请重新输入"})]})]})};export{B as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.