|
@@ -86,6 +86,7 @@ const changeMenu = async (data) =>{
|
|
|
console.log('点击了',data.item.name,data.item.id);
|
|
|
let find = rightTopItems.value.find(v => v.id == data.item.id)
|
|
|
columnIdName.value = find.name
|
|
|
+ pagecurrent.value = 1
|
|
|
await getArticle(find)
|
|
|
}
|
|
|
watch(pagecurrent, async() => {
|
|
@@ -112,7 +113,7 @@ const getArticle = async (data) =>{
|
|
|
})
|
|
|
commodityList.value = data
|
|
|
|
|
|
- pagecurrent.value = 1
|
|
|
+ // pagecurrent.value = 1
|
|
|
total.value = res?.data?.total
|
|
|
}
|
|
|
|