You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
1.6 KiB
1 lines
1.6 KiB
import{d as _,r as d,y as u,h as f,c as h,a as e,t as c,u as t,N as s,$ as m}from"./index-6010b07e.js";/* empty css */import{ab as x,ac as v}from"./sys-0f76aff3.js";import{_ as g}from"./_plugin-vue_export-helper-c27b6911.js";const w={class:"main-container h-[500px] w-full p-5 bg-white"},b={class:"flex flex-wrap px-2 plug-list pb-10"},C={class:"flex items-center bg-[#F7F8FA] p-3 w-[295px] relative plug-item mr-4 mb-4 cursor-pointer"},y={class:"flex flex-col ml-2"},D={class:"text-sm truncate w-[190px]"},F=["title"],k={class:"flex items-center bg-[#F7F8FA] p-3 w-[295px] relative plug-item mr-4 mb-4 cursor-pointer"},M={class:"flex flex-col ml-2"},B={class:"text-sm truncate w-[190px]"},$=["title"],A=_({__name:"updatecache",setup(N){const a=d(!1),n=()=>{a.value=!0,x().then(r=>{a.value=!1}).catch(()=>{a.value=!1})},o=()=>{a.value=!0,v().then(r=>{a.value=!1}).catch(()=>{a.value=!1})};return(r,l)=>{const i=m;return u((f(),h("div",w,[e("div",b,[e("div",C,[e("div",y,[e("span",D,c(t(s)("refreshMenu")),1),e("span",{class:"text-xs text-gray-400 mt-1 truncate w-[190px]",title:t(s)("refreshMenuDesc")},c(t(s)("refreshMenuDesc")),9,F)]),e("span",{class:"plug-item-operate",onClick:l[0]||(l[0]=p=>o())},c(t(s)("refresh")),1)]),e("div",k,[e("div",M,[e("span",B,c(t(s)("dataCache")),1),e("span",{class:"text-xs text-gray-400 mt-1 truncate w-[190px]",title:t(s)("dataCacheDesc")},c(t(s)("dataCacheDesc")),9,$)]),e("span",{class:"plug-item-operate",onClick:l[1]||(l[1]=p=>n())},c(t(s)("refresh")),1)])])])),[[i,a.value]])}}});const R=g(A,[["__scopeId","data-v-dbd8ef39"]]);export{R as default};
|
|
|