Showing
3 changed files
with
4 additions
and
0 deletions
@@ -44,6 +44,7 @@ | @@ -44,6 +44,7 @@ | ||
44 | maxLength: 250, | 44 | maxLength: 250, |
45 | ...apiTreeSelectProps, | 45 | ...apiTreeSelectProps, |
46 | value, | 46 | value, |
47 | + dropdownStyle: { maxHeight: '300px' }, | ||
47 | api: async (params: OrganizationListItem) => { | 48 | api: async (params: OrganizationListItem) => { |
48 | try { | 49 | try { |
49 | if (!unref(needReload)) return unref(orgList); | 50 | if (!unref(needReload)) return unref(orgList); |
@@ -145,6 +145,7 @@ | @@ -145,6 +145,7 @@ | ||
145 | onChange(value: string, option: Recordable) { | 145 | onChange(value: string, option: Recordable) { |
146 | handleEmit(FormFieldsEnum.ORGANIZATION, value, option); | 146 | handleEmit(FormFieldsEnum.ORGANIZATION, value, option); |
147 | }, | 147 | }, |
148 | + dropdownStyle: { maxHeight: '300px' }, | ||
148 | getPopupContainer: () => document.body, | 149 | getPopupContainer: () => document.body, |
149 | }; | 150 | }; |
150 | }, | 151 | }, |