fix: 草稿不允许查看

This commit is contained in:
dap 2025-03-19 16:19:03 +08:00
parent 9e4f886197
commit 614d998daf

View File

@ -174,10 +174,7 @@ function handleInfo(row: Required<LeaveForm>) {
撤销
</ghost-button>
</Popconfirm>
<ghost-button
v-if="['draft'].includes(row.status)"
@click="handleInfo(row)"
>
<ghost-button v-if="row.status !== 'draft'" @click="handleInfo(row)">
详情
</ghost-button>
<Popconfirm