static.assets.UserCenter.d3ed485a.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redismq-server Show documentation
Show all versions of redismq-server Show documentation
redismq server and console
The newest version!
/* empty css *//* empty css *//* empty css */import{i as U,n as g,p as v,o as B,N as C,w as t,e as a,d as r,f as s,B as o,P as E,K as b,I as c,Q as F,R as _,D as w}from"./index.1adb7942.js";const x="/assets/hzh.32bd6f0c.jpg",T=U({__name:"UserCenter",setup(y){const{proxy:p}=w();let l=g({userInfo:{username:"",email:"",phone:"",nickName:"",createTime:"",updateTIme:"",avatar:""}});v(()=>{(async d=>{let u=await p.$api.user.getUserInfo(d);l.userInfo=u})({id:1})});const m=()=>{p.$api.user.updateUser(l.userInfo)};return(i,e)=>{const d=E,u=b,f=c,I=F,V=_;return B(),C(V,{class:"home",gutter:20},{default:t(()=>[a(I,{span:24,style:{"margin-top":"20px"}},{default:t(()=>[a(d,{shadow:"hover"},{default:t(()=>e[5]||(e[5]=[r("div",{class:"userInfo"},[r("img",{class:"userImg",src:x}),r("div",null,[r("p",{class:"username"},"Admin"),r("p",{class:"role"},"\u8D85\u7EA7\u7BA1\u7406\u5458")])],-1)])),_:1}),a(d,{class:"user",shadow:"hover",style:{"margin-top":"20px"}},{default:t(()=>[r("div",null,[e[7]||(e[7]=s(" \u7528\u6237\u540D")),a(u,{id:"username",name:"aaa",modelValue:o(l).userInfo.username,"onUpdate:modelValue":e[0]||(e[0]=n=>o(l).userInfo.username=n),placeholder:"",clearable:""},null,8,["modelValue"]),e[8]||(e[8]=s(" \u90AE\u7BB1")),a(u,{modelValue:o(l).userInfo.email,"onUpdate:modelValue":e[1]||(e[1]=n=>o(l).userInfo.email=n),placeholder:"",clearable:""},null,8,["modelValue"]),e[9]||(e[9]=s(" \u624B\u673A\u53F7")),a(u,{modelValue:o(l).userInfo.phone,"onUpdate:modelValue":e[2]||(e[2]=n=>o(l).userInfo.phone=n),placeholder:"",clearable:""},null,8,["modelValue"]),e[10]||(e[10]=s(" \u6635\u79F0")),a(u,{modelValue:o(l).userInfo.nickName,"onUpdate:modelValue":e[3]||(e[3]=n=>o(l).userInfo.nickName=n),placeholder:"",clearable:""},null,8,["modelValue"]),e[11]||(e[11]=s(" \u90E8\u95E8")),a(u,{modelValue:o(l).userInfo.avatar,"onUpdate:modelValue":e[4]||(e[4]=n=>o(l).userInfo.avatar=n),placeholder:"",clearable:""},null,8,["modelValue"]),e[12]||(e[12]=s(" \u6CE8\u518C\u65F6\u95F4")),a(u,{disabled:"",placeholder:o(l).userInfo.createTime},null,8,["placeholder"]),e[13]||(e[13]=s(" \u6700\u8FD1\u66F4\u65B0\u65F6\u95F4")),a(u,{disabled:"",placeholder:o(l).userInfo.updateTIme},null,8,["placeholder"]),a(f,{onClick:m,type:"primary"},{default:t(()=>e[6]||(e[6]=[s("\u4FDD\u5B58")])),_:1})])]),_:1})]),_:1})]),_:1})}}});export{T as default};
© 2015 - 2025 Weber Informatics LLC | Privacy Policy