updated develop project save step

This commit is contained in:
Warunee Tamkoo 2024-08-14 11:48:52 +07:00
parent f2a1d55ada
commit 8e3de78a85
6 changed files with 27 additions and 14 deletions

View file

@ -16,7 +16,7 @@ import { useCounterMixin } from "@/stores/mixin";
const $q = useQuasar();
const route = useRoute();
const mixin = useCounterMixin();
const { showLoader, hideLoader, messageError } = mixin;
const { showLoader, hideLoader, messageError, success } = mixin;
/**
* props
@ -93,6 +93,7 @@ function onSubmit() {
.then(() => {
fetchData(projectId.value);
isChangeData.value = false;
success($q, "บันทึกข้อมูลแล้ว");
})
.catch((err) => {
messageError($q, err);