fix(ui): 调整

This commit is contained in:
廖彦棋 2024-03-14 16:14:49 +08:00
parent a64df5cf0c
commit d7d1e2100c

View File

@ -94,7 +94,9 @@ const handleRemove = async (id, reload) => {
</a-button>
</template>
<template #switch="{ record, column }">
<template v-if="record.id === 1">-</template>
<ConfirmSwitch
v-else
v-model="record[column.dataIndex]"
:api="async () => save({ ...record, status: !record.status })"
/>