diff --git a/packages/varlet-ui/src/select/Select.vue b/packages/varlet-ui/src/select/Select.vue index 3366f42d3ea..8ab2bc2a2ec 100644 --- a/packages/varlet-ui/src/select/Select.vue +++ b/packages/varlet-ui/src/select/Select.vue @@ -195,7 +195,7 @@ export default defineComponent({ option = options.find(({ label }) => label.value === modelValue) } - return option!.label.value + return option?.label.value ?? '' } const computePlaceholderState = () => {