Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Commit b0fc8ea

Browse files
committed
fix 726
1 parent a5d1d33 commit b0fc8ea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/utils/get-form-value.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,7 @@ export default function getFormValue(form) {
1515

1616
delete result.$form;
1717

18-
return result;
18+
const isArray = Array.isArray(form.$form.value);
19+
20+
return isArray ? Object.values(result) : result;
1921
}

0 commit comments

Comments
 (0)