mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-27 11:23:24 +08:00
refactor: TableSwitch组件重构
This commit is contained in:
@@ -183,10 +183,10 @@ function handleSyncTenantDict() {
|
||||
</template>
|
||||
<template #status="{ row }">
|
||||
<TableSwitch
|
||||
v-model="row.status"
|
||||
v-model:value="row.status"
|
||||
:api="() => tenantStatusChange(row)"
|
||||
:disabled="row.id === 1 || !hasAccessByCodes(['system:tenant:edit'])"
|
||||
:reload="() => tableApi.query()"
|
||||
@reload="tableApi.query()"
|
||||
/>
|
||||
</template>
|
||||
<template #action="{ row }">
|
||||
|
||||
Reference in New Issue
Block a user