diff --git a/src/components/common/VnDmsList.vue b/src/components/common/VnDmsList.vue index cc184703d..f70146c58 100644 --- a/src/components/common/VnDmsList.vue +++ b/src/components/common/VnDmsList.vue @@ -244,7 +244,7 @@ function deleteDms(dmsFk) { }, }) .onOk(async () => { - await axios.post($props.deleteModel ?? `${$props.model}/${dmsFk}/removeFile`); + await axios.post(`${$props.deleteModel ?? $props.model}/${dmsFk}/removeFile`); const index = rows.value.findIndex((row) => row.id == dmsFk); rows.value.splice(index, 1); }); diff --git a/src/pages/Worker/Card/WorkerDms.vue b/src/pages/Worker/Card/WorkerDms.vue index faf89b245..a4f7ef5a9 100644 --- a/src/pages/Worker/Card/WorkerDms.vue +++ b/src/pages/Worker/Card/WorkerDms.vue @@ -7,7 +7,7 @@ const route = useRoute();