mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-09-17 16:56:38 +08:00
fix(ui): 调整
This commit is contained in:
parent
a64df5cf0c
commit
d7d1e2100c
@ -94,7 +94,9 @@ const handleRemove = async (id, reload) => {
|
|||||||
</a-button>
|
</a-button>
|
||||||
</template>
|
</template>
|
||||||
<template #switch="{ record, column }">
|
<template #switch="{ record, column }">
|
||||||
|
<template v-if="record.id === 1">-</template>
|
||||||
<ConfirmSwitch
|
<ConfirmSwitch
|
||||||
|
v-else
|
||||||
v-model="record[column.dataIndex]"
|
v-model="record[column.dataIndex]"
|
||||||
:api="async () => save({ ...record, status: !record.status })"
|
:api="async () => save({ ...record, status: !record.status })"
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user