# 优化序号显示
This commit is contained in:
parent
8f03176d42
commit
a08b33d6d8
|
@ -5,7 +5,7 @@
|
||||||
:data="historyList"
|
:data="historyList"
|
||||||
style="width: 100%">
|
style="width: 100%">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="oid"
|
type="index"
|
||||||
label="序号"
|
label="序号"
|
||||||
min-width="80">
|
min-width="80">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
@ -38,7 +38,6 @@ export default {
|
||||||
fetchLogStatisticHistory().then(response => {
|
fetchLogStatisticHistory().then(response => {
|
||||||
this.historyList = response.data.results
|
this.historyList = response.data.results
|
||||||
this.historyList.forEach((item, index) => {
|
this.historyList.forEach((item, index) => {
|
||||||
item.oid = index + 1
|
|
||||||
})
|
})
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
this.$emit('history', this.historyList)
|
this.$emit('history', this.historyList)
|
||||||
|
|
Loading…
Reference in New Issue