|
|
|
@ -7,7 +7,7 @@ |
|
|
|
|
<div class="container"> |
|
|
|
|
<div class="upload-dragger"> |
|
|
|
|
<a-upload-dragger |
|
|
|
|
accept=".csv" |
|
|
|
|
accept=".xls, .xlsx" |
|
|
|
|
:multiple="false" |
|
|
|
|
:fileList="fileList" |
|
|
|
|
:showUploadList="false" |
|
|
|
@ -19,7 +19,7 @@ |
|
|
|
|
</p> |
|
|
|
|
<div v-if="!fileList.length"> |
|
|
|
|
<p class="ant-upload-text">点击选择文件,或者将文件拖拽至此区域</p> |
|
|
|
|
<p class="ant-upload-hint">仅支持.csv 格式的excel文件,限2M以内</p> |
|
|
|
|
<p class="ant-upload-hint">仅支持.xls, .xlsx 格式的excel文件,限2M以内</p> |
|
|
|
|
</div> |
|
|
|
|
<div v-else> |
|
|
|
|
<p class="ant-upload-text"> |
|
|
|
|