fix: notify success & i18n
This commit is contained in:
parent
ed4dc9432b
commit
6019c8d86d
3 changed files with 6 additions and 4 deletions
|
|
@ -57,6 +57,7 @@ export default {
|
|||
uploadFile: 'Upload File',
|
||||
typeBranch: 'Branch Type',
|
||||
branchStatus: 'Branch Status',
|
||||
success: 'Success',
|
||||
},
|
||||
|
||||
menu: {
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@ export default {
|
|||
uploadFile: 'อัปโหลดไฟล์',
|
||||
typeBranch: 'ประเภทสาขา',
|
||||
branchStatus: 'สถานะสาขา',
|
||||
success: 'สำเร็จ',
|
||||
},
|
||||
|
||||
menu: {
|
||||
|
|
|
|||
|
|
@ -1799,7 +1799,7 @@ const emptyCreateDialog = ref(false);
|
|||
async () => {
|
||||
await customerFormStore.submitFormCustomer();
|
||||
customerFormState.readonly = true;
|
||||
notify('create', $t('success'));
|
||||
notify('create', $t('general.success'));
|
||||
await fetchListCustomer();
|
||||
}
|
||||
"
|
||||
|
|
@ -2510,7 +2510,7 @@ const emptyCreateDialog = ref(false);
|
|||
@save="
|
||||
(index) => {
|
||||
employeeFormState.currentIndex = index;
|
||||
notify('create', $t('success'));
|
||||
notify('create', $t('general.success'));
|
||||
}
|
||||
"
|
||||
@undo="
|
||||
|
|
@ -2728,7 +2728,7 @@ const emptyCreateDialog = ref(false);
|
|||
async () => {
|
||||
await customerFormStore.submitFormCustomer();
|
||||
customerFormState.readonly = true;
|
||||
notify('create', $t('success'));
|
||||
notify('create', $t('general.success'));
|
||||
await fetchListCustomer();
|
||||
}
|
||||
"
|
||||
|
|
@ -3557,7 +3557,7 @@ const emptyCreateDialog = ref(false);
|
|||
@save="
|
||||
(index) => {
|
||||
employeeFormState.currentIndex = index;
|
||||
notify('create', $t('success'));
|
||||
notify('create', $t('general.success'));
|
||||
}
|
||||
"
|
||||
@edit="
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue