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', type: 'string',
title: '状态', title: '状态',
enum: [ enum: [
{ label: '启用', value: 1 }, { label: '启用', value: false },
{ label: '停用', value: 0 } { label: '停用', value: true }
], ],
ui: { ui: {
widget: 'radio' widget: 'radio'
} as SFRadioWidgetSchema, } as SFRadioWidgetSchema,
default: staff?.roleId || 1 default: staff?.stateLocked || false
} }
}, },
required: ['itemValue'] required: ['itemValue']