提交 6113c8b4 authored 作者: 李忠利's avatar 李忠利

首页数据对接修改

上级 c9002bf2
......@@ -45,12 +45,15 @@
<span class="card-more" @click="handleToCreate"> 更多 </span>
</template>
<el-table :data="createList.records" size="small">
<el-table-column width="280px" label="名称" prop="name">
<template slot-scope="scope">
<svg-icon icon-class="word"></svg-icon>
<el-table-column width="280px" label="名称" show-overflow-tooltip>
<template slot-scope="{ row }">
<span>
<svg-icon icon-class="word"></svg-icon>
{{ row.name }}
</span>
</template>
</el-table-column>
<el-table-column label="作者" prop="author" />
<el-table-column label="作者" prop="creatorName" />
<el-table-column label="修改时间" prop="modifyTime" />
</el-table>
</el-card>
......@@ -128,7 +131,7 @@ export default {
pageSize,
};
let res = await getNearRead(params);
this.readList = res.result;
this.readList = res.data;
},
// 最近创作
......@@ -139,7 +142,7 @@ export default {
pageSize,
};
let res = await getNearCreation(params);
this.createList = res.result;
this.createList = res.data;
},
/**
* 上传文件按钮点击事件
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论