Auto Commit

上级 26fa95c2
......@@ -42,13 +42,18 @@ const state = reactive({
showTotal: (total, range) => {
return range[0] + '-' + range[1] + '' + total + '篇博客';
},
change:changePage
onShowSizeChange: changePageSize, // 改变每页数量时更新显示
onChange:changePage,//点击页码事件
}
})
function changePage(page,pageSize){
state.pagination.current= page
state.pagination.pageSize= pageSize
}
function changePageSize(current,pageSize){
state.pagination.current= current
state.pagination.pageSize= pageSize
}
const getCsdnData = (uId) => {
const url = 'https://yongma16.xyz/common-api/getCsdnGrade/'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册