<template>
    <div class="full-screen h-full cursor-pointer flex items-center px-2" @click="handleClean">
        <icon :size="18" name="el-icon-delete" />
    </div>
</template>

<script setup lang="ts" name="cache">

// 清理缓存
import feedback from "@/utils/feedback";
import {systemCacheClear} from "@/api/setting/system";

const handleClean = async () => {
    await feedback.confirm('确认清除系统缓存？')
    await systemCacheClear()
}
</script>

<style scoped>

</style>