import{_ as e,y as t,as as s,at as a,g as l,d as i,e as o,f as u,w as c,Z as n,a0 as d,i as r,o as m,h as g,k as p,j as f}from"./index-BxaAJ7WT.js";const k=e({data:()=>({isAdmin:"13100919809"===t().userInfo.userName}),computed:{cellStyle:()=>({marginBottom:"10px",background:"#fff"})},methods:{logout(){s({title:"确认退出?",success:e=>{if(e.confirm){a().clearStorage(),console.log(l()),l().$vm.exit()}}})}}},[["render",function(e,t,s,a,l,k){const y=i(o("up-cell"),n),S=i(o("up-cell-group"),d),_=r;return m(),u(_,{class:"page setting"},{default:c((()=>[g(S,{customStyle:k.cellStyle},{default:c((()=>[g(y,{title:"个人资料",isLink:"",url:"/pages/mine/mine-edit"}),g(y,{title:"账号安全",isLink:"",url:"/pages/mine/mine-password"}),l.isAdmin?(m(),u(y,{key:0,title:"更新版本",isLink:"",url:"/pages/update/update"})):p("",!0)])),_:1},8,["customStyle"]),g(S,{customStyle:k.cellStyle},{default:c((()=>[g(y,{isLink:!0,"right-icon":""},{title:c((()=>[g(_,{class:"logout",onClick:k.logout},{default:c((()=>[f(" 退出登录 ")])),_:1},8,["onClick"])])),_:1})])),_:1},8,["customStyle"])])),_:1})}],["__scopeId","data-v-86824c1d"]]);export{k as default};
