import{_ as e,A as t,a as s,at as a,d as l,f as i,h as o,i as u,w as c,a1 as n,a2 as d,j as m,o as r,k as p,m as f,l as g}from"./index-mnxZbLx5.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),_=m;return r(),u(_,{class:"page setting"},{default:c((()=>[p(S,{customStyle:k.cellStyle},{default:c((()=>[p(y,{title:"个人资料",isLink:"",url:"/pages/mine/mine-edit"}),p(y,{title:"账号安全",isLink:"",url:"/pages/mine/mine-password"}),l.isAdmin?(r(),u(y,{key:0,title:"更新版本",isLink:"",url:"/pages/update/update"})):f("",!0)])),_:1},8,["customStyle"]),p(S,{customStyle:k.cellStyle},{default:c((()=>[p(y,{isLink:!0,"right-icon":""},{title:c((()=>[p(_,{class:"logout",onClick:k.logout},{default:c((()=>[g(" 退出登录 ")])),_:1},8,["onClick"])])),_:1})])),_:1},8,["customStyle"])])),_:1})}],["__scopeId","data-v-86824c1d"]]);export{k as default};
