/* empty css             *//* empty css                   */import{_ as a}from"./index.vue_vue_type_script_setup_true_lang-bc7fd1e2.js";/* empty css                        *//* empty css                    *//* empty css               */import"./el-tooltip-4ed993c7.js";/* empty css                  *//* empty css                     */import{u as s}from"./useGetList-927e47a1.js";import{d as e,x as t,p as l,o,c as r,W as p,f as i,l as u,w as n,a as m,b as c,a7 as d,ae as _,a8 as b,$ as f}from"./index-2b50ecca.js";const g={class:"table-default"},j=e({__name:"loginLog",setup(e){const{data:j,query:v,search:y,reset:x,loading:k}=s("user/login/log");t((()=>y()));const w=l((()=>{var a;return null==(a=j.value)?void 0:a.data}));return(s,e)=>{const t=d,l=_,j=b,v=a,y=f;return o(),r("div",g,[p((o(),u(j,{data:w.value,class:"mt-3"},{default:n((()=>[m(t,{prop:"account",label:"账户"}),m(t,{prop:"browser",label:"浏览器"}),m(t,{prop:"platform",label:"平台"}),m(t,{prop:"login_ip",label:"IP"}),m(t,{prop:"status",label:"状态"},{default:n((a=>[1===a.row.status?(o(),u(l,{key:0,type:"success"},{default:n((()=>[c("成功")])),_:1})):(o(),u(l,{key:1,type:"danger"},{default:n((()=>[c("失败")])),_:1}))])),_:1}),m(t,{prop:"login_at",label:"登录时间"})])),_:1},8,["data"])),[[y,i(k)]]),m(v)])}}});export{j as _};
