fix(04): clear img state

This commit is contained in:
puriphatt 2024-09-04 15:04:01 +07:00
parent 4ac31e3cb0
commit 483859daca

View file

@ -1069,6 +1069,7 @@ function clearFormProduct() {
dialogProduct.value = false; dialogProduct.value = false;
dialogProductEdit.value = false; dialogProductEdit.value = false;
profileUrl.value = ''; profileUrl.value = '';
profileFileImg.value = null;
profileSubmit.value = false; profileSubmit.value = false;
} }
@ -1093,6 +1094,7 @@ function clearFormService() {
profileUrl.value = ''; profileUrl.value = '';
profileSubmit.value = false; profileSubmit.value = false;
imageProduct.value = undefined; imageProduct.value = undefined;
profileFileImg.value = null;
} }
function assignFormDataProductServiceCreate() { function assignFormDataProductServiceCreate() {