mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2026-01-03 03:38:12 +00:00
2 lines
2.4 KiB
JavaScript
2 lines
2.4 KiB
JavaScript
import"./base-0e92f4db.js";/* empty css */import{t}from"./index-8f29cb04.js";import{ar as m,as as _}from"./index-9033603c.js";import{v as u}from"./directive-c6f70b8e.js";import{d,r as f,L as h,b as x,e as v,f as e,x as o,u as s}from"./runtime-core.esm-bundler-67034826.js";import{_ as g}from"./_plugin-vue_export-helper-c27b6911.js";import"./vue-router-8b032575.js";import"./common-46715e7e.js";import"./index-72686045.js";import"./event-a537c4cb.js";import"./index-81f2aa1e.js";import"./el-main-7a89c415.js";import"./index-ebd2990f.js";import"./el-overlay-3eff2fc5.js";import"./index-defed8ff.js";import"./focus-trap-83769a43.js";import"./index-6cae7119.js";import"./index-d87ae4a2.js";/* empty css */import"./el-form-item-c2dd2ffe.js";/* empty css *//* empty css */import"./index-e9d9b1a1.js";import"./index-8cefa3ab.js";import"./index-e09a20f5.js";import"./index-ef31373f.js";import"./index-de22cd40.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"},D={class:"flex flex-col ml-2"},F={class:"text-sm truncate w-[190px]"},y=["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]"},A=["title"],L=d({__name:"updatecache",setup(S){const a=f(!1),c=()=>{a.value=!0,m().then(i=>{a.value=!1,setTimeout(()=>{location.reload()},500)}).catch(()=>{a.value=!1})},p=()=>{a.value=!0,_().then(i=>{a.value=!1,setTimeout(()=>{location.reload()},500)}).catch(()=>{a.value=!1})};return(i,r)=>{const l=u;return h((x(),v("div",w,[e("div",b,[e("div",C,[e("div",D,[e("span",F,o(s(t)("refreshMenu")),1),e("span",{class:"text-xs text-gray-400 mt-1 truncate w-[190px]",title:s(t)("refreshMenuDesc")},o(s(t)("refreshMenuDesc")),9,y)]),e("span",{class:"plug-item-operate",onClick:r[0]||(r[0]=n=>p())},o(s(t)("resetting")),1)]),e("div",k,[e("div",M,[e("span",B,o(s(t)("dataCache")),1),e("span",{class:"text-xs text-gray-400 mt-1 truncate w-[190px]",title:s(t)("dataCacheDesc")},o(s(t)("dataCacheDesc")),9,A)]),e("span",{class:"plug-item-operate",onClick:r[1]||(r[1]=n=>c())},o(s(t)("refresh")),1)])])])),[[l,a.value]])}}});const ie=g(L,[["__scopeId","data-v-266ceb95"]]);export{ie as default};
|