fix: Disable button when clearing cache and selecting size 0B (#9349)

This commit is contained in:
2025-06-30 22:29:31 +08:00 committed by GitHub
parent 22d8fb7867
commit 4da9a84363
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -144,7 +144,12 @@
</div> </div>
</div> </div>
<div class="large_button"> <div class="large_button">
<el-button type="primary" size="large" @click="onSubmitClean"> <el-button
type="primary"
size="large"
:disabled="selectSize <= 0"
@click="onSubmitClean"
>
{{ $t('clean.clean') }} {{ $t('clean.clean') }}
</el-button> </el-button>
</div> </div>