fix: แก้ type ของ ProductGroupเป็น []
This commit is contained in:
parent
5b7e8f7b52
commit
42a4245299
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ const useProductServiceStore = defineStore('api-product-service', () => {
|
||||||
|
|
||||||
const query = params.toString();
|
const query = params.toString();
|
||||||
|
|
||||||
const res = await api.get<ProductGroup>(
|
const res = await api.get<ProductGroup[]>(
|
||||||
`/product-group${(params && '?'.concat(query)) || ''}`,
|
`/product-group${(params && '?'.concat(query)) || ''}`,
|
||||||
{
|
{
|
||||||
headers: {
|
headers: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue