no message

Former-commit-id: 233964a300d393e6018e34c1f69bca2bd1a4e082
Former-commit-id: d65672eef8e1b30d849a85feb307e13ab49e938d
Former-commit-id: 16f1aeddee1c3a29e741106286413633c8204207
This commit is contained in:
李杨
2018-02-09 14:42:12 +08:00
parent 250a48207a
commit 04e607fa45
2 changed files with 3 additions and 3 deletions

View File

@@ -34,11 +34,11 @@ export default {
ajax () { ajax () {
this.$axios.get('/api/demo/001') this.$axios.get('/api/demo/001')
.then(res => { .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, label: e,
prop: e prop: e
})) }))
this.table.data = res.data.list this.table.data = res.list
}) })
} }
} }

View File

@@ -275,7 +275,7 @@ export const menu = {
// export // export
{ {
title: '表格导出', title: '表格导出',
icon: 'eye', icon: 'download',
children: [ children: [
{ {
title: '基本示例', title: '基本示例',