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