mirror of
https://github.com/youzan/vant.git
synced 2026-03-06 02:06:58 +08:00
docs(Form): fix error variable of the form (#11560)
This commit is contained in:
@@ -436,7 +436,7 @@ export default {
|
||||
const showArea = ref(false);
|
||||
const onConfirm = ({ selectedOptions }) => {
|
||||
showArea.value = false;
|
||||
areaCode.value = selectedOptions.map((item) => item.text).join('/');
|
||||
result.value = selectedOptions.map((item) => item.text).join('/');
|
||||
};
|
||||
|
||||
return {
|
||||
|
||||
@@ -466,7 +466,7 @@ export default {
|
||||
const showArea = ref(false);
|
||||
const onConfirm = ({ selectedOptions }) => {
|
||||
showArea.value = false;
|
||||
areaCode.value = selectedOptions.map((item) => item.text).join('/');
|
||||
result.value = selectedOptions.map((item) => item.text).join('/');
|
||||
};
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user