2 lines
1.4 KiB
JavaScript
2 lines
1.4 KiB
JavaScript
import{m as n,r as d,bz as i,p as F,q as m,t as e,v as u,u as p,a2 as B,b5 as E,b6 as C,ae as f,b7 as b}from"./.pnpm.1b0299fb.js";import{f as h,s as w}from"./index.689cfa31.js";import"./@vueuse.72d44d91.js";import"./lodash.c3b66c05.js";import"./@vue.9d708d7c.js";const D={class:"cache"},A=n({name:"cache"}),N=n({...A,setup(k){const l=d([{content:"\u7CFB\u7EDF\u7F13\u5B58",desc:"\u7CFB\u7EDF\u8FD0\u884C\u8FC7\u7A0B\u4E2D\u4EA7\u751F\u7684\u5404\u7C7B\u7F13\u5B58\u6570\u636E"}]),s=async()=>{await h.confirm("\u786E\u8BA4\u6E05\u9664\u7CFB\u7EDF\u7F13\u5B58\uFF1F"),await w(),window.location.reload()};return(x,a)=>{const c=i,o=E,t=C,r=f,_=b;return F(),m("div",D,[e(o,{class:"!border-none",shadow:"never"},{default:u(()=>[e(c,{type:"warning",title:"\u6E29\u99A8\u63D0\u793A\uFF1A\u7BA1\u7406\u7CFB\u7EDF\u8FD0\u884C\u8FC7\u7A0B\u4E2D\u4EA7\u751F\u7684\u7F13\u5B58",closable:!1,"show-icon":""})]),_:1}),e(o,{class:"!border-none mt-4",shadow:"never"},{default:u(()=>[e(_,{data:p(l),size:"large"},{default:u(()=>[e(t,{label:"\u7BA1\u7406\u5185\u5BB9",prop:"content","min-width":"130"}),e(t,{label:"\u5185\u5BB9\u8BF4\u660E",prop:"desc","min-width":"180"}),e(t,{label:"\u64CD\u4F5C",width:"130",fixed:"right"},{default:u(()=>[e(r,{type:"primary",link:"",onClick:s},{default:u(()=>a[0]||(a[0]=[B("\u6E05\u9664\u7CFB\u7EDF\u7F13\u5B58")])),_:1})]),_:1})]),_:1},8,["data"])]),_:1})])}}});export{N as default};
|