Skip to content

Commit

Permalink
fix: fix vue-query sample code
Browse files Browse the repository at this point in the history
  • Loading branch information
soartec-lab committed Jul 14, 2024
1 parent 2a34bca commit b440713
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions samples/vue-query/custom-fetch/src/components/HelloWorld.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ const { mutate } = useCreatePets();
const onButtonClick = () => {
mutate({
data: {
name: 'testName',
tag: 'testTag',
},
data: [
{
name: 'testName',
tag: 'testTag',
},
],
});
};
</script>
Expand Down

0 comments on commit b440713

Please sign in to comment.