no message

Former-commit-id: 85adfe3868b8104218fc50470ce6e3d97fadf122
Former-commit-id: 78a1351d6c2f1fc8a5c6d67ccc39515c0f89280c
Former-commit-id: 4aa6dedddb655b5bac5c0a9f029f83171c64c4ff
This commit is contained in:
李杨
2018-02-15 14:19:46 +08:00
parent 1cb9fef2dc
commit db8c0b2700
2 changed files with 15 additions and 3 deletions

View File

@@ -6,10 +6,20 @@
url="https://github.com/mholt/PapaParse">
</PageHeader>
<div class="dd-mb">
<el-button @click="download">下载演示CSV</el-button>
<el-button type="success">选择要导入的 CSV 文件</el-button>
<el-button @click="download">
<Icon name="download"></Icon>
下载演示CSV
</el-button>
</div>
<el-table v-bind="table" style="width: 100%">
<div class="dd-mb">
<el-upload :before-upload="handleUpload" action="default">
<el-button type="success">
<Icon name="file-o"></Icon>
选择要导入的 CSV 文件
</el-button>
</el-upload>
</div>
<el-table v-bind="table" class="dd-mb">
<el-table-column
v-for="(item, index) in table.columns"
:key="index"
@@ -17,6 +27,7 @@
:label="item.label">
</el-table-column>
</el-table>
<Markdown url="/static/markdownFiles/article/插件 - 导入 - csv.md"></Markdown>
</Container>
</template>