Fri Jun 30 11:11:00 UTC 2023 inscode

上级 dcc838d1
...@@ -18,6 +18,10 @@ const state = reactive({ ...@@ -18,6 +18,10 @@ const state = reactive({
title: '浏览量', title: '浏览量',
dataIndex: 'viewCount', dataIndex: 'viewCount',
sorter: (a, b) => a.viewCount - b.viewCount, sorter: (a, b) => a.viewCount - b.viewCount,
}, {
title: '评论数',
dataIndex: 'commentCount',
sorter: (a, b) => a.viewCount - b.viewCount,
}, { }, {
title: '收藏量', title: '收藏量',
dataIndex: 'collectCount', dataIndex: 'collectCount',
...@@ -222,7 +226,9 @@ function initFirstData() { ...@@ -222,7 +226,9 @@ function initFirstData() {
</a-table> </a-table>
</div> </div>
<div> <div>
<div id="first" style="width:100vw;height:900px;margin: 0 auto"></div> <a-spin :spining="!state.loading">
<div id="first" style="width:100vw;height:900px;margin: 0 auto"></div>
</a-spin>
</div> </div>
</div> </div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册