diff --git a/src/stores/product-service/index.ts b/src/stores/product-service/index.ts index 31ca85ab..4d436887 100644 --- a/src/stores/product-service/index.ts +++ b/src/stores/product-service/index.ts @@ -422,7 +422,7 @@ const useProductServiceStore = defineStore('api-product-service', () => { } async function createService(data: ServiceCreate) { - const { code, ...payload } = data; + const { ...payload } = data; const res = await api.post('/service', { ...payload,