fix: 草稿不允许查看
This commit is contained in:
parent
9e4f886197
commit
614d998daf
@ -174,10 +174,7 @@ function handleInfo(row: Required<LeaveForm>) {
|
|||||||
撤销
|
撤销
|
||||||
</ghost-button>
|
</ghost-button>
|
||||||
</Popconfirm>
|
</Popconfirm>
|
||||||
<ghost-button
|
<ghost-button v-if="row.status !== 'draft'" @click="handleInfo(row)">
|
||||||
v-if="['draft'].includes(row.status)"
|
|
||||||
@click="handleInfo(row)"
|
|
||||||
>
|
|
||||||
详情
|
详情
|
||||||
</ghost-button>
|
</ghost-button>
|
||||||
<Popconfirm
|
<Popconfirm
|
||||||
|
Loading…
Reference in New Issue
Block a user