feat: 修改状态名称
This commit is contained in:
@@ -41,8 +41,8 @@ export const baseDeptColumns: ProColumns<AiModelRespVO>[] = [
|
|||||||
) => (
|
) => (
|
||||||
<Switch
|
<Switch
|
||||||
checked={record.status === 1}
|
checked={record.status === 1}
|
||||||
checkedChildren="禁用"
|
checkedChildren="启用"
|
||||||
unCheckedChildren="启用"
|
unCheckedChildren="禁用"
|
||||||
onChange={(checked) => {
|
onChange={(checked) => {
|
||||||
Modal.confirm({
|
Modal.confirm({
|
||||||
title: '确认操作',
|
title: '确认操作',
|
||||||
|
|||||||
Reference in New Issue
Block a user