fix bug of delete product_image
This commit is contained in:
@@ -501,9 +501,9 @@ function uploadedIndexFile(id: number, response?: Record<string, any>) {
|
||||
}
|
||||
|
||||
function deleteIndexFile() {
|
||||
form.value.file_id = undefined;
|
||||
form.value.file = undefined;
|
||||
ProductIndexImage.value = [];
|
||||
form.value.file_id = null
|
||||
form.value.file = undefined
|
||||
ProductIndexImage.value = []
|
||||
}
|
||||
|
||||
async function setProductIndexImage(record: Record<string, any>, productId?: number) {
|
||||
|
||||
Reference in New Issue
Block a user