Auto Commit

上级 4fd36360
...@@ -5,7 +5,7 @@ import { tableColumns } from './const' ...@@ -5,7 +5,7 @@ import { tableColumns } from './const'
import { getRemoteCsdnGrade } from '../service/csdnApi' import { getRemoteCsdnGrade } from '../service/csdnApi'
import { onMounted, reactive, onUnmounted } from 'vue'; import { onMounted, reactive, onUnmounted } from 'vue';
const state = reactive({ const state = reactive({
title:'csdn用户根据id快速查分数改文', title:'csdn用户根据id快速查分数改文',
loading: false, loading: false,
searchValue: localStorage.getItem('csdnUid') || '', searchValue: localStorage.getItem('csdnUid') || '',
firstChart: null, firstChart: null,
...@@ -243,9 +243,11 @@ function initFirstData() { ...@@ -243,9 +243,11 @@ function initFirstData() {
</a> </a>
</template> </template>
<template v-if="column.key === 'option'"> <template v-if="column.key === 'option'">
<a-tooltip placement="topLeft" :title="record.editUrl">
<a :href="record.editUrl" target="_blank"> <a :href="record.editUrl" target="_blank">
编辑文章 编辑文章
</a> </a>
</a-tooltip>
</template> </template>
</template> </template>
</a-table> </a-table>
......
...@@ -25,13 +25,13 @@ export const tableColumns= [{ ...@@ -25,13 +25,13 @@ export const tableColumns= [{
title: '质量分', title: '质量分',
dataIndex: 'score', dataIndex: 'score',
sorter: (a, b) => a.score - b.score, sorter: (a, b) => a.score - b.score,
}, {
title: '建议',
dataIndex: 'message',
}, { }, {
title: '发文时间', title: '发文时间',
dataIndex: 'postTime', dataIndex: 'postTime',
sorter: (a, b) => new Date(a.postTime) - new Date(b.postTime), sorter: (a, b) => new Date(a.postTime) - new Date(b.postTime),
}, {
title: '建议',
dataIndex: 'message',
}, { }, {
title: '操作', title: '操作',
key: 'option', key: 'option',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册