Files
aiot-platform-ui/apps/web-antd/dist/js/index-BkOUkF56.js
lzh c16d049c38
All checks were successful
Web UI CI/CD / build-and-deploy (push) Successful in 8s
chore: build and deploy web-antd
2026-03-31 23:16:25 +08:00

2 lines
2.0 KiB
JavaScript

var u=(p,m,t)=>new Promise((i,f)=>{var n=e=>{try{o(t.next(e))}catch(c){f(c)}},_=e=>{try{o(t.throw(e))}catch(c){f(c)}},o=e=>e.done?i(e.value):Promise.resolve(e.value).then(n,_);o((t=t.apply(p,m)).next())});import{g as b}from"./index-8_s38NKW.js";import{a4 as y,au as d,av as l}from"./bootstrap-peLAqOBq.js";import{_ as P}from"./base-info.vue_vue_type_script_setup_true_lang-DqJ9_TcV.js";import k from"./profile-user-s6GszcML.js";import{_ as w}from"./reset-pwd.vue_vue_type_script_setup_true_lang--TUHKWl9.js";import{_ as h}from"./user-social.vue_vue_type_script_setup_true_lang-l0q4suHl.js";import{_ as x}from"./page.vue_vue_type_script_setup_true_lang-Cw-j3v4f.js";import{m as S,b9 as v,v as U,ab as N,b2 as T,bJ as r,ae as $,j as a,u as s}from"../jse/index-index-fr7m5rpH.js";import"./dict-enum-CaHgMaDZ.js";import"./index-B8fpydG4.js";import"./index-Sbt_NZHi.js";import"./use-modal-C1IjSWqI.js";import"./x-CIbp0SZ0.js";import"./index-CLrHY_lS.js";import"./biz-system-enum-Ci18uvnT.js";import"./AlertBuilder-CvWDq5cl.js";import"./circle-check-big-DAcsb5eB.js";const g={class:"flex"},Q=S({__name:"index",setup(p){const m=y(),t=v("basicInfo"),i=v();function f(){return u(this,null,function*(){i.value=yield b()})}function n(){return u(this,null,function*(){yield f(),yield m.fetchUserInfo()})}return U(f),(_,o)=>(T(),N(s(x),{"auto-content-height":""},{default:r(()=>[$("div",g,[a(s(d),{class:"w-2/5",title:"个人信息"},{default:r(()=>[a(k,{profile:i.value,onSuccess:n},null,8,["profile"])]),_:1}),a(s(d),{class:"ml-3 w-3/5"},{default:r(()=>[a(s(l),{"active-key":t.value,"onUpdate:activeKey":o[1]||(o[1]=e=>t.value=e),class:"-mt-4"},{default:r(()=>[a(s(l).TabPane,{key:"basicInfo",tab:"基本设置"},{default:r(()=>[a(P,{profile:i.value,onSuccess:n},null,8,["profile"])]),_:1}),a(s(l).TabPane,{key:"resetPwd",tab:"密码设置"},{default:r(()=>[a(w)]),_:1}),a(s(l).TabPane,{key:"userSocial",tab:"社交绑定","force-render":""},{default:r(()=>[a(h,{"onUpdate:activeName":o[0]||(o[0]=e=>t.value=e)})]),_:1})]),_:1},8,["active-key"])]),_:1})])]),_:1}))}});export{Q as default};