diff --git a/packages/vant/src/address-edit/AddressEdit.tsx b/packages/vant/src/address-edit/AddressEdit.tsx index eec2212a3..2cf82042f 100644 --- a/packages/vant/src/address-edit/AddressEdit.tsx +++ b/packages/vant/src/address-edit/AddressEdit.tsx @@ -297,7 +297,7 @@ export default defineComponent({ label={t('area')} is-link={!disableArea} modelValue={areaText.value} - rules={rules.value.areaCode} + rules={props.showArea ? rules.value.areaCode : undefined} placeholder={props.areaPlaceholder || t('area')} onFocus={() => onFocus('areaCode')} onClick={() => {