fix bug of delete product_image

This commit is contained in:
2026-05-20 15:29:19 +03:30
parent 8ccf85798f
commit 5f5d9aef6a
+3 -3
View File
@@ -501,9 +501,9 @@ function uploadedIndexFile(id: number, response?: Record<string, any>) {
} }
function deleteIndexFile() { function deleteIndexFile() {
form.value.file_id = undefined; form.value.file_id = null
form.value.file = undefined; form.value.file = undefined
ProductIndexImage.value = []; ProductIndexImage.value = []
} }
async function setProductIndexImage(record: Record<string, any>, productId?: number) { async function setProductIndexImage(record: Record<string, any>, productId?: number) {