mirror of
https://gitee.com/ZhongBangKeJi/crmeb_java.git
synced 2026-04-27 21:19:35 +08:00
feat:v1.4前端更新
This commit is contained in:
34
admin/src/views/maintain/clearCache/index.vue
Normal file
34
admin/src/views/maintain/clearCache/index.vue
Normal file
@@ -0,0 +1,34 @@
|
||||
<template>
|
||||
<div class="divBox">
|
||||
<el-card class="box-card">
|
||||
<el-button type="primary" v-hasPermi="['admin:system:config:clear:cache']" v-debounceClick="handleClear"
|
||||
>清除缓存</el-button
|
||||
>
|
||||
</el-card>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
// +---------------------------------------------------------------------
|
||||
// | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
|
||||
// +---------------------------------------------------------------------
|
||||
// | Copyright (c) 2016~2025 https://www.crmeb.com All rights reserved.
|
||||
// +---------------------------------------------------------------------
|
||||
// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
|
||||
// +---------------------------------------------------------------------
|
||||
// | Author: CRMEB Team <admin@crmeb.com>
|
||||
// +---------------------------------------------------------------------
|
||||
import { clearCacheApi } from '@/api/systemConfig';
|
||||
export default {
|
||||
name: 'clearCache',
|
||||
methods: {
|
||||
handleClear() {
|
||||
clearCacheApi().then((response) => {
|
||||
this.$message.success('清除成功');
|
||||
});
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped></style>
|
||||
Reference in New Issue
Block a user