add categoty

This commit is contained in:
sdaduanbilei-d1581 2026-01-09 10:33:22 +08:00
parent 87778cff11
commit 211f4a0586

View File

@ -46,7 +46,7 @@ export default {
data() {
return {
page: {
current: 0,
current: 1,
pageSize: 10,
total: 0,
},
@ -81,13 +81,13 @@ export default {
this.$api.badge.list(this.page).then(res => {
if (res.code === 200) {
this.list = res.data.list
this.page.total = res.dta.total
this.page.total = res.data.total
}
})
},
pageChange(page) {
console.log(page);
this.page.page = page
this.page.current = page
this.fetchList()
},
fetchCategory() {