Showing
1 changed file
with
9 additions
and
6 deletions
| @@ -106,17 +106,20 @@ export const schemas: FormSchema[] = [ | @@ -106,17 +106,20 @@ export const schemas: FormSchema[] = [ | ||
| 106 | }, | 106 | }, |
| 107 | { | 107 | { |
| 108 | field: 'nameCountry', | 108 | field: 'nameCountry', |
| 109 | - component: 'ApiSelect', | 109 | + component: 'Select', |
| 110 | label: '国家/地区', | 110 | label: '国家/地区', |
| 111 | colProps: { | 111 | colProps: { |
| 112 | span: 24, | 112 | span: 24, |
| 113 | }, | 113 | }, |
| 114 | + // componentProps: { | ||
| 115 | + // api: getAreaList, | ||
| 116 | + // params: { parentId: 0 }, | ||
| 117 | + // labelField: 'name', | ||
| 118 | + // valueField: 'code', | ||
| 119 | + // placeholder: '国家/地区', | ||
| 120 | + // }, | ||
| 114 | componentProps: { | 121 | componentProps: { |
| 115 | - api: getAreaList, | ||
| 116 | - params: { parentId: 0 }, | ||
| 117 | - labelField: 'name', | ||
| 118 | - valueField: 'code', | ||
| 119 | - placeholder: '国家/地区', | 122 | + options: [{ label: '中国', value: 1 }], |
| 120 | }, | 123 | }, |
| 121 | }, | 124 | }, |
| 122 | { | 125 | { |