no message
Former-commit-id: 233964a300d393e6018e34c1f69bca2bd1a4e082 Former-commit-id: d65672eef8e1b30d849a85feb307e13ab49e938d Former-commit-id: 16f1aeddee1c3a29e741106286413633c8204207
This commit is contained in:
@@ -34,11 +34,11 @@ export default {
|
||||
ajax () {
|
||||
this.$axios.get('/api/demo/001')
|
||||
.then(res => {
|
||||
this.table.columns = Object.keys(res.data.list[0]).map(e => ({
|
||||
this.table.columns = Object.keys(res.list[0]).map(e => ({
|
||||
label: e,
|
||||
prop: e
|
||||
}))
|
||||
this.table.data = res.data.list
|
||||
this.table.data = res.list
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user