<a-col :md="24" class="uploadFiles">
<!-- <a-form-item :colon="false" label=" 算法服务 *" :help="fileList.length>0?'':'请上传文件!'"> -->
<!-- <a-upload-dragger
:multiple="false"
action
:before-upload="beforeUpload"
:file-list="fileList"
:remove="remove"
accept=".log"
>
<p class="ant-upload-drag-icon">
<img style=" 40px; height: 53px" src="@/assets/upload.png" />
</p>
<p class="ant-upload-text">点击或者拖拽导入文件进行上传</p>
<p class="ant-upload-hint">
(只支持log文件,编码格式需为GB2312格式)
</p>
</a-upload-dragger> -->
<a-form-item :colon="false" label=" 算法服务 *">
<a-upload-dragger :multiple="false" action
v-decorator="[
'evaluationServce',
{
valuePropName: 'fileList',
getValueFromEvent: normFile,
rules: [{ required: true, message: '请上传文件!' }]
},
]"
name="files"
accept=".csv"
>
<p class="ant-upload-drag-icon">
<img style=" 40px; height: 53px" src="@/assets/upload.png" />
</p>
<p class="ant-upload-text">点击或者拖拽导入文件进行上传</p>
<p class="ant-upload-hint">
(只支持log文件,编码格式需为GB2312格式)
</p>
</a-upload-dragger>
</a-form-item>
</a-col>