chore: 租户选择框浮层固定高度[256px] 超过高度自动滚动

This commit is contained in:
dap
2024-10-09 13:58:01 +08:00
parent 11a0b2f2f3
commit cf53a4f3bd
3 changed files with 8 additions and 1 deletions

View File

@@ -60,6 +60,7 @@ const formSchema = computed((): VbenFormSchema[] => {
component: 'VbenSelect',
componentProps: {
class: 'bg-background h-[40px] focus:border-primary',
contentClass: 'h-[256px] overflow-y-auto',
options: tenantInfo.value.voList?.map((item) => ({
label: item.companyName,
value: item.tenantId,