|
@@ -130,8 +130,8 @@ export function getFormConfig(): Partial<FormProps> {
|
|
|
componentProps: {
|
|
|
placeholder: '会员身份',
|
|
|
options: [
|
|
|
- { label: '个人', value: '2' },
|
|
|
- { label: '单位', value: '1' },
|
|
|
+ { label: '个人', value: 2 },
|
|
|
+ { label: '单位', value: 1 },
|
|
|
],
|
|
|
},
|
|
|
colProps: {
|
|
@@ -214,16 +214,16 @@ export const schemas: FormSchema[] = [
|
|
|
span: adaptWidth.elContainer,
|
|
|
},
|
|
|
componentProps: (value) => {
|
|
|
- console.log(`value ---- type`, value);
|
|
|
+ console.log(`edit value ---- type`, value);
|
|
|
return {
|
|
|
// disabled: true,
|
|
|
options: [
|
|
|
- { label: '个人', value: '2' },
|
|
|
- { label: '单位', value: '1' },
|
|
|
+ { label: '个人', value: 2 },
|
|
|
+ { label: '单位', value: 1 },
|
|
|
],
|
|
|
};
|
|
|
},
|
|
|
- defaultValue: '2',
|
|
|
+ defaultValue: 2,
|
|
|
},
|
|
|
{
|
|
|
field: 'duty',
|