no message
This commit is contained in:
parent
43a8224a34
commit
87839e7fb3
|
|
@ -50,6 +50,7 @@ export default {
|
|||
border-radius: $border-radius;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
font-size: 16px;
|
||||
}
|
||||
.col-l {
|
||||
background-color: lighten($color-info, 40%);
|
||||
|
|
|
|||
|
|
@ -5,12 +5,18 @@
|
|||
title="基本示例"
|
||||
url="https://github.com/mholt/PapaParse">
|
||||
</PageHeader>
|
||||
<el-row :gutter="10">
|
||||
<el-col :span="4">
|
||||
<div class="mb">
|
||||
<el-button @click="download">下载演示CSV</el-button>
|
||||
</div>
|
||||
<el-upload
|
||||
:before-upload="handleUpload"
|
||||
action="default">
|
||||
<el-button>选择一个CSV文件</el-button>
|
||||
<el-button type="success">选择本地CSV文件</el-button>
|
||||
</el-upload>
|
||||
<br>
|
||||
</el-col>
|
||||
<el-col :span="20">
|
||||
<el-table
|
||||
v-bind="table"
|
||||
style="width: 100%">
|
||||
|
|
@ -21,6 +27,8 @@
|
|||
:label="item.label">
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</Container>
|
||||
</template>
|
||||
|
||||
|
|
@ -52,6 +60,9 @@ export default {
|
|||
}
|
||||
})
|
||||
return false
|
||||
},
|
||||
download () {
|
||||
window.location.href='http://fairyever.qiniudn.com/d2admin-vue-demo.csv'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<Container type="ghost" class="demo-plugin-vue-grid-layout-demo">
|
||||
<Container type="ghost" class="body">
|
||||
<GridLayout
|
||||
v-bind="layout"
|
||||
@layout-updated="layoutUpdatedHandler">
|
||||
|
|
@ -78,11 +78,11 @@ export default {
|
|||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
<style lang="scss" scoped>
|
||||
@import '~@/assets/style/public.scss';
|
||||
.demo-plugin-vue-grid-layout-demo {
|
||||
.body {
|
||||
.vue-grid-layout {
|
||||
margin: -$margin -$margin 0px -$margin;
|
||||
margin: -10px;
|
||||
.el-card {
|
||||
height: 100%;
|
||||
@extend %unable-select;
|
||||
|
|
|
|||
Loading…
Reference in New Issue