fix: 关闭租户时 获取的voList为null 需要添加可选链
This commit is contained in:
parent
a0c2cffcab
commit
e8d0fd0e27
@ -60,7 +60,7 @@ const formSchema = computed((): VbenFormSchema[] => {
|
||||
component: 'VbenSelect',
|
||||
componentProps: {
|
||||
class: 'bg-background h-[40px] focus:border-primary',
|
||||
options: tenantInfo.value.voList.map((item) => ({
|
||||
options: tenantInfo.value.voList?.map((item) => ({
|
||||
label: item.companyName,
|
||||
value: item.tenantId,
|
||||
})),
|
||||
|
Loading…
Reference in New Issue
Block a user