diff --git a/resources/js/views/member/Form.vue b/resources/js/views/member/Form.vue index 884ccc58..31d8e7b7 100644 --- a/resources/js/views/member/Form.vue +++ b/resources/js/views/member/Form.vue @@ -81,8 +81,8 @@ export default { }, submit() { this.mode === 'create' - ? $inertia.post(`/member`, inner) - : $inertia.patch(`/member/${inner.id}`, inner); + ? this.$inertia.post(`/member`, inner) + : this.$inertia.patch(`/member/${inner.id}`, inner); } },