mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs(Form): fix error variable of the form (#11560)
This commit is contained in:
parent
c05c31772a
commit
ec2e12dea7
@ -436,7 +436,7 @@ export default {
|
|||||||
const showArea = ref(false);
|
const showArea = ref(false);
|
||||||
const onConfirm = ({ selectedOptions }) => {
|
const onConfirm = ({ selectedOptions }) => {
|
||||||
showArea.value = false;
|
showArea.value = false;
|
||||||
areaCode.value = selectedOptions.map((item) => item.text).join('/');
|
result.value = selectedOptions.map((item) => item.text).join('/');
|
||||||
};
|
};
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
@ -466,7 +466,7 @@ export default {
|
|||||||
const showArea = ref(false);
|
const showArea = ref(false);
|
||||||
const onConfirm = ({ selectedOptions }) => {
|
const onConfirm = ({ selectedOptions }) => {
|
||||||
showArea.value = false;
|
showArea.value = false;
|
||||||
areaCode.value = selectedOptions.map((item) => item.text).join('/');
|
result.value = selectedOptions.map((item) => item.text).join('/');
|
||||||
};
|
};
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user