mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 00:14:18 +00:00
fix(Form): fix FieldTypeArea demo of form (#11561)
This commit is contained in:
@@ -25,7 +25,7 @@ const areaCode = ref('');
|
||||
const showArea = ref(false);
|
||||
|
||||
const onConfirm = ({ selectedOptions }: PickerConfirmEventParams) => {
|
||||
areaCode.value = selectedOptions.map((item) => item.text).join('/');
|
||||
areaCode.value = selectedOptions.map((item) => item!.text).join('/');
|
||||
showArea.value = false;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user