Commit 0fee9d73 by yzh

fix:修改错误日志表格的索引

parent 41118e05
...@@ -8,7 +8,11 @@ ...@@ -8,7 +8,11 @@
<div class="table-content"> <div class="table-content">
<!-- 错误详情表格 --> <!-- 错误详情表格 -->
<el-table :data="curTableData" border style="width: 100%"> <el-table :data="curTableData" border style="width: 100%">
<el-table-column width="55" label="序号" type="index" /> <el-table-column width="55" label="序号">
<template #default="scope">
{{ (pageObj.pageNo - 1) * pageObj.pageSize + scope.$index + 1 }}
</template>
</el-table-column>
<el-table-column width="150" property="spider" label="爬虫名称" /> <el-table-column width="150" property="spider" label="爬虫名称" />
<el-table-column property="error" label="错误信息"> <el-table-column property="error" label="错误信息">
<template #default="scope"> <template #default="scope">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment