u
This commit is contained in:
@@ -40,7 +40,7 @@ export async function getCategoryList({ cursor = 0, limit = 20, rootCategoryId =
|
|||||||
imghash: row.imgHash ?? null,
|
imghash: row.imgHash ?? null,
|
||||||
imgsrc: row.imgHash ?? null,
|
imgsrc: row.imgHash ?? null,
|
||||||
name: row.name,
|
name: row.name,
|
||||||
pid: String(row.pid),
|
pid: row.pid === rootCategoryId ? '0' : String(row.pid),
|
||||||
discounts: [],
|
discounts: [],
|
||||||
sort: String(row.sort),
|
sort: String(row.sort),
|
||||||
lastChanged: String(row.lastChanged),
|
lastChanged: String(row.lastChanged),
|
||||||
|
|||||||
Reference in New Issue
Block a user