From 48d2214f9397806dbde5f3db6da67b4ef55ab83b Mon Sep 17 00:00:00 2001 From: puriphatt Date: Thu, 20 Jun 2024 07:19:34 +0000 Subject: [PATCH] fix: emit add product --- src/components/04_product-service/FormServiceWork.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/04_product-service/FormServiceWork.vue b/src/components/04_product-service/FormServiceWork.vue index 04e25f8f..a07c7654 100644 --- a/src/components/04_product-service/FormServiceWork.vue +++ b/src/components/04_product-service/FormServiceWork.vue @@ -109,6 +109,7 @@ function confirmDelete(items: unknown[], index: number) { :length="workItems.length" :workIndex="index" v-model:product-items="work.product" + @add-product="$emit('addProduct')" @move-work-up="moveItemUp(workItems, index)" @move-work-down="moveItemDown(workItems, index)" @delete-work="confirmDelete(workItems, index)"