1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-31 22:18:07 +08:00

fix: 解决网站日志清理日志按钮无法点击的问题 (#3562)

This commit is contained in:
zhengkunwang 2024-01-10 17:06:01 +08:00 committed by GitHub
parent 3c39415d84
commit 714de55727
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@
</div> </div>
<LogFile :config="{ id: id, type: 'website', name: logType }" :style="style"> <LogFile :config="{ id: id, type: 'website', name: logType }" :style="style">
<template #button> <template #button>
<el-button @click="cleanLog" icon="Delete" :disabled="data.content === ''"> <el-button @click="cleanLog" icon="Delete">
{{ $t('commons.button.clean') }} {{ $t('commons.button.clean') }}
</el-button> </el-button>
</template> </template>