fix: แก้ type status

This commit is contained in:
Net 2024-06-24 16:25:33 +07:00
parent 1548558be8
commit d38d8af2c6

View file

@ -466,6 +466,7 @@ async function assignFormDataProductService(id: string) {
detail: res.detail, detail: res.detail,
attributes: res.attributes, attributes: res.attributes,
work: [], work: [],
status: res.status,
}; };
res.work.forEach((item) => { res.work.forEach((item) => {
@ -549,6 +550,7 @@ function clearFormService() {
additional: [], additional: [],
}, },
work: [], work: [],
status: undefined,
}; };
workItems.value = []; workItems.value = [];