|
@@ -85,7 +85,7 @@ const navIcons = ref([
|
|
const newProducts = ref<any>([])
|
|
const newProducts = ref<any>([])
|
|
|
|
|
|
async function getNewList() {
|
|
async function getNewList() {
|
|
- const res = await getList({ page: 1, size: 10, isNew: true })
|
|
|
|
|
|
+ const res = await getList({ page: 1, size: 20 })
|
|
console.log(res)
|
|
console.log(res)
|
|
newProducts.value = res.data.list
|
|
newProducts.value = res.data.list
|
|
}
|
|
}
|