after remarks in refund is submitted, reload to get the resource again

This commit is contained in:
edmondlang
2024-05-30 22:51:35 +08:00
parent bb31790061
commit c4bbc1a967
@@ -47,12 +47,7 @@
methods: {
submitForm() {
this.submit(this.data ? this.route('api.remark.update', this.data.id) : this.route('api.remark.create', this.id), this.data ? 'put' : 'post', this.section, true, true);
this.$emit('submit')
},
successHandler(response){
this.parameters.content = '';
this.closeModal();
}
},
mixins: [modalFormHandler]
}