This commit is contained in:
Taric Xin
2021-12-20 15:42:05 +08:00
parent bce661246c
commit 581d7c44e7

View File

@ -76,13 +76,13 @@ export class CartConfigActionModalComponent implements OnInit {
type: 'string',
title: '状态',
enum: [
{ label: '启用', value: 1 },
{ label: '停用', value: 0 }
{ label: '启用', value: false },
{ label: '停用', value: true }
],
ui: {
widget: 'radio'
} as SFRadioWidgetSchema,
default: staff?.roleId || 1
default: staff?.stateLocked || false
}
},
required: ['itemValue']