Commit 90cdf3a2 authored by jiaxu.yan's avatar jiaxu.yan

feat: 检测报告上传文件限制为pdf

parent 877dc5c1
......@@ -32,6 +32,7 @@
:on-preview="handlePreview"
v-model="model.file"
:on-remove="handleRemove"
accept=".pdf"
:before-remove="beforeRemove"
:show-file-list="false"
:limit="1"
......
......@@ -16,6 +16,7 @@
:limit="1"
ref="fileUpload"
:on-success="handleSuccess"
accept=".pdf"
:on-exceed="handleExceed"
:headers="headers"
>
......
......@@ -19,6 +19,7 @@
:before-remove="beforeRemove"
:show-file-list="false"
:limit="1"
accept=".pdf"
:on-success="handleSuccess"
:on-exceed="handleExceed"
:headers="headers"
......
......@@ -15,6 +15,7 @@
:before-remove="beforeRemove"
:show-file-list="false"
:limit="1"
accept=".pdf"
:on-success="handleSuccess"
:on-exceed="handleExceed"
:headers="headers"
......@@ -98,7 +99,7 @@ export default {
value: '',
file: '',
path: '',
name:''
name: ''
}
},
setDefaultValue(val) {
......
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