updated develop project save step
This commit is contained in:
parent
f2a1d55ada
commit
8e3de78a85
6 changed files with 27 additions and 14 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue