mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Form): fix FieldTypeArea demo of form (#11561)
This commit is contained in:
parent
ec2e12dea7
commit
0e01ea3b35
@ -25,7 +25,7 @@ const areaCode = ref('');
|
|||||||
const showArea = ref(false);
|
const showArea = ref(false);
|
||||||
|
|
||||||
const onConfirm = ({ selectedOptions }: PickerConfirmEventParams) => {
|
const onConfirm = ({ selectedOptions }: PickerConfirmEventParams) => {
|
||||||
areaCode.value = selectedOptions.map((item) => item.text).join('/');
|
areaCode.value = selectedOptions.map((item) => item!.text).join('/');
|
||||||
showArea.value = false;
|
showArea.value = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user