fix failed delete err

This commit is contained in:
Xerrors 2024-07-28 20:20:21 +08:00
parent 6971e7e1b7
commit d15618e12d

View File

@ -75,7 +75,7 @@
<template v-else-if="column.key === 'action'"> <template v-else-if="column.key === 'action'">
<a-button class="del-btn" type="link" <a-button class="del-btn" type="link"
@click="deleteFile(text)" @click="deleteFile(text)"
:disabled="state.lock || record.status != 'done' " :disabled="state.lock || record.status == 'processing' || record.status == 'waiting' "
>删除 >删除
</a-button> </a-button>
</template> </template>