Commit eb515e1a by 曾经

导入文件大小限制,以及提示

parent 7a619618
......@@ -100,8 +100,8 @@ export default {
downloadTemplate: [],
optType: 0, //required
accept: ['.xlsx'], // 默认 ['.xlsx', '.xls', '.csv']
maxSize: 100000, // 传递byte required
maxSizeDesc: '10M',
maxSize: 1024 * 1000, // 传递byte required
maxSizeDesc: '1M',
multiple: false, // 默认false
hiddleFile: false,
},
......
......@@ -45,7 +45,7 @@
}
.dashed-line{
margin: 20px 0;
margin: 24px 0 20px;
border-bottom: 1px dashed #DCDFE6;
}
.input-form-item{
......
......@@ -48,6 +48,7 @@
box-sizing: border-box;
width: 420px;
position: relative;
min-height: 100%;
.selected-result-box{
height: 522px;
width: 380px;
......@@ -107,7 +108,7 @@
align-items: center;
justify-content: center;
height: 56px;
position: fixed;
position: absolute;
width: 420px;
z-index: 1;
right: 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment