# 优化序号显示
This commit is contained in:
parent
8f03176d42
commit
a08b33d6d8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue