mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-29 17:13:23 +08:00
fix: 关闭租户时 获取的voList为null 需要添加可选链
This commit is contained in:
@@ -60,7 +60,7 @@ const formSchema = computed((): VbenFormSchema[] => {
|
|||||||
component: 'VbenSelect',
|
component: 'VbenSelect',
|
||||||
componentProps: {
|
componentProps: {
|
||||||
class: 'bg-background h-[40px] focus:border-primary',
|
class: 'bg-background h-[40px] focus:border-primary',
|
||||||
options: tenantInfo.value.voList.map((item) => ({
|
options: tenantInfo.value.voList?.map((item) => ({
|
||||||
label: item.companyName,
|
label: item.companyName,
|
||||||
value: item.tenantId,
|
value: item.tenantId,
|
||||||
})),
|
})),
|
||||||
|
|||||||
Reference in New Issue
Block a user