fix: file name case

This commit is contained in:
Methapon2001 2024-04-19 14:07:50 +07:00
parent 73ed30e704
commit 3cddefd965
2 changed files with 3 additions and 2 deletions

View file

@ -18,7 +18,7 @@ import FormQr from 'src/components/01_branch-management/FormQr.vue';
import FormBranchContact from 'src/components/01_branch-management/FormBranchContact.vue';
import FormImage from 'src/components/01_branch-management/FormImage.vue';
import DrawerInfo from 'src/components/DrawerInfo.vue';
import InfoForm from 'src/components/02_personnel-management/infoForm.vue';
import InfoForm from 'src/components/02_personnel-management/InfoForm.vue';
import { BranchWithChildren, BranchCreate } from 'stores/branch/types';
import { watch } from 'vue';
@ -337,9 +337,10 @@ async function onSubmit() {
persistent: true,
message: 'คุณต้องการแก้ไขข้อมูล ใช่หรือไม่',
action: async () => {
const { status, ...payload } = formData.value;
await branchStore.editById(
codeHq.value.id,
formData.value,
payload,
profileFile.value,
profileFileImg.value,
);