no message

Former-commit-id: 53ff203f46a9e4a9efa4f88137cf7684b6dc7b2f
Former-commit-id: c837c34a1e62860cd1b31a914aa9b4a1a89bfac6
Former-commit-id: 3765b26cbcd41e810f54f5cc3bc386369dfca29d
This commit is contained in:
李杨
2018-01-15 18:40:14 +08:00
parent 8c0d17166d
commit f17ea3f313
4 changed files with 55 additions and 9 deletions

View File

@@ -10,16 +10,12 @@
<div class="mb">
<el-button @click="download">下载演示CSV</el-button>
</div>
<el-upload
:before-upload="handleUpload"
action="default">
<el-upload :before-upload="handleUpload" action="default">
<el-button type="success">选择本地CSV文件</el-button>
</el-upload>
</el-col>
<el-col :span="20">
<el-table
v-bind="table"
style="width: 100%">
<el-table v-bind="table" style="width: 100%">
<el-table-column
v-for="(item, index) in table.columns"
:key="index"
@@ -62,7 +58,7 @@ export default {
return false
},
download () {
window.location.href='http://fairyever.qiniudn.com/d2admin-vue-demo.csv'
window.location.href = 'http://fairyever.qiniudn.com/d2admin-vue-demo.csv'
}
}
}