diff --git a/packages/fighting-design/option/src/option.vue b/packages/fighting-design/option/src/option.vue index 090bc214f5..783247ee95 100644 --- a/packages/fighting-design/option/src/option.vue +++ b/packages/fighting-design/option/src/option.vue @@ -45,7 +45,7 @@ } /** 获取到 label */ - const label = slotLabel.value || prop.label.toString() || prop.value.toString() + const label = slotLabel.value || prop.label?.toString() || prop.value?.toString() /** 获取到选中的项目 */ const currentItem = parentInject.childrenLabels.find(item => { return item.slot === label