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