Skip to content

Commit 84214ce

Browse files
committed
fixed transform usage
1 parent 4868d3e commit 84214ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/composables/useForm.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export default function useForm<TForm extends FormDataType>(
128128
return this
129129
},
130130
async submit(method, url, options: VisitOptions = {}) {
131-
const data = this.transform(this.data())
131+
const data = transform(this.data())
132132
const _options = {
133133
...options,
134134
onBefore: () => {

0 commit comments

Comments
 (0)