mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-29 06:53:01 +00:00
fix: 修复 角色管理 编辑角色时,角色状态不正确 (#2861)
* fix: 修复 Cannot access 'pagewrapper' before initialization * fix: 修复 角色管理 编辑角色时,角色状态不正确
This commit is contained in:
@@ -30,8 +30,8 @@ export const columns: BasicColumn[] = [
|
||||
}
|
||||
return h(Switch, {
|
||||
checked: record.status === '1',
|
||||
checkedChildren: '已启用',
|
||||
unCheckedChildren: '已禁用',
|
||||
checkedChildren: '停用',
|
||||
unCheckedChildren: '启用',
|
||||
loading: record.pendingStatus,
|
||||
onChange(checked: boolean) {
|
||||
record.pendingStatus = true;
|
||||
|
Reference in New Issue
Block a user