docs(Form): fix error variable of the form (#11560)

This commit is contained in:
Gavin 2023-02-10 10:24:48 +08:00 committed by GitHub
parent c05c31772a
commit ec2e12dea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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 {