fix: แก้ให้ส่ง code
This commit is contained in:
parent
63505dfa1d
commit
6eea4aea2b
1 changed files with 1 additions and 1 deletions
|
|
@ -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<ServiceCreate>('/service', {
|
||||
...payload,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue