Commit 391de3bcf59dede55663cba7ef8d3fb5a481f7d2

Authored by ww
1 parent f2461962

fix: 修复组织下拉选择树高度过长

... ... @@ -44,6 +44,7 @@
44 44 maxLength: 250,
45 45 ...apiTreeSelectProps,
46 46 value,
  47 + dropdownStyle: { maxHeight: '300px' },
47 48 api: async (params: OrganizationListItem) => {
48 49 try {
49 50 if (!unref(needReload)) return unref(orgList);
... ...
... ... @@ -88,6 +88,8 @@
88 88
89 89 <style scoped lang="less">
90 90 .organization-tree {
  91 + max-height: 100vh;
  92 +
91 93 .expand {
92 94 opacity: 0;
93 95 }
... ...
... ... @@ -145,6 +145,7 @@
145 145 onChange(value: string, option: Recordable) {
146 146 handleEmit(FormFieldsEnum.ORGANIZATION, value, option);
147 147 },
  148 + dropdownStyle: { maxHeight: '300px' },
148 149 getPopupContainer: () => document.body,
149 150 };
150 151 },
... ...