import{d as l,e as d,u as c,h as _,o as b,U as i,a2 as B,ad as C,af as p,k as h,G as k}from"./vue-vendor-CxLCUzY4.js";import{a2 as F,j as T,a5 as f,B as y}from"./antd-vue-vendor-CDWW6V_M.js";import{bB as I,K as g,F as x,_ as $}from"./index-B_2CoVdl.js";import{u as w}from"./useCountdown-ImUE7YaG.js";import"./vxe-table-vendor-B5h3MVdD.js";const R=l({name:"step3",components:{Button:y,Form:f,FormItem:f.Item,Input:T,Result:F},props:{accountInfo:{type:Object,default:()=>({})},count:x.number.def(5)},emits:["finish"],setup(t,{emit:e}){const{t:u}=g(),{accountInfo:m}=t,{handleBackLogin:a}=I(),{currentCount:o,start:s}=w(t.count),n=d(()=>u("sys.login.subTitleText",[c(o)]));_(()=>{c(o)===1&&setTimeout(()=>{r()},500)});function r(){a(),e("finish")}return b(()=>{s()}),{getSubTitle:n,finish:r}}});function S(t,e,u,m,a,o){const s=i("a-button"),n=i("Result");return B(),C(n,{status:"success",title:"更改密码成功","sub-title":t.getSubTitle},{extra:p(()=>[h(s,{key:"console",type:"primary",onClick:t.finish},{default:p(()=>e[0]||(e[0]=[k(" 返回登录 ")])),_:1},8,["onClick"])]),_:1},8,["sub-title"])}const V=$(R,[["render",S]]);export{V as default};
