fix(admin): load all goods in left tree (pageSize 1000) so low-priority new goods are searchable
This commit is contained in:
@@ -310,7 +310,7 @@ watch(searchKeyword, () => {
|
||||
})
|
||||
|
||||
function refreshLeftTree() {
|
||||
goodsApi.getGoodsList({ page: 1, pageSize: 200 } as any).then((res: any) => {
|
||||
goodsApi.getGoodsList({ page: 1, pageSize: 1000 } as any).then((res: any) => {
|
||||
allGoods.value = res?.items ?? []
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user