add categoty
This commit is contained in:
parent
87778cff11
commit
211f4a0586
@ -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() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user