fixed: remark automatically updates on submit

This commit is contained in:
Aqqil Azman
2024-05-29 12:10:40 +08:00
parent bb31790061
commit c45ddb0497
@@ -48,11 +48,8 @@
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]
}