Auto Commit

上级 472c5976
...@@ -5,7 +5,7 @@ import * as echarts from 'echarts'; ...@@ -5,7 +5,7 @@ import * as echarts from 'echarts';
import { onMounted, reactive, onUnmounted } from 'vue'; import { onMounted, reactive, onUnmounted } from 'vue';
const state = reactive({ const state = reactive({
loading: false, loading: false,
searchValue: 'qq_38870145', searchValue: '',
firstChart: null, firstChart: null,
columns: [{ columns: [{
title: '文章名称', title: '文章名称',
...@@ -40,10 +40,15 @@ const state = reactive({ ...@@ -40,10 +40,15 @@ const state = reactive({
pageSize: 10, pageSize: 10,
pageSizeOptions: ['10', '20', '30'], pageSizeOptions: ['10', '20', '30'],
showTotal: (total, range) => { showTotal: (total, range) => {
return range[0] + '-' + range[1] + '' + total + ''; return range[0] + '-' + range[1] + '' + total + '篇博客';
}, },
change:changePage
} }
}) })
function changePage(page,pageSize){
state.pagination.current= page
state.pagination.pageSize= pageSize
}
const getCsdnData = (uId) => { const getCsdnData = (uId) => {
const url = 'https://yongma16.xyz/common-api/getCsdnGrade/' 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.
先完成此消息的编辑!
想要评论请 注册