# 优化序号显示

This commit is contained in:
xianfuxing 2018-08-18 12:59:07 +08:00
parent 8f03176d42
commit a08b33d6d8
1 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,7 @@
:data="historyList"
style="width: 100%">
<el-table-column
prop="oid"
type="index"
label="序号"
min-width="80">
</el-table-column>
@ -38,7 +38,6 @@ export default {
fetchLogStatisticHistory().then(response => {
this.historyList = response.data.results
this.historyList.forEach((item, index) => {
item.oid = index + 1
})
this.listLoading = false
this.$emit('history', this.historyList)