fixed member post
This commit is contained in:
parent
2217c3f223
commit
a793b33b6c
|
@ -81,8 +81,8 @@ export default {
|
||||||
},
|
},
|
||||||
submit() {
|
submit() {
|
||||||
this.mode === 'create'
|
this.mode === 'create'
|
||||||
? $inertia.post(`/member`, inner)
|
? this.$inertia.post(`/member`, inner)
|
||||||
: $inertia.patch(`/member/${inner.id}`, inner);
|
: this.$inertia.patch(`/member/${inner.id}`, inner);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue