Commit 47612654 authored by 罗超's avatar 罗超

文件大小重新验证

parent 7823be01
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<div class="col-6 q-pb-lg"> <div class="col-6 q-pb-lg">
<q-uploader style="display: inline-block;height:320px; max-width: 100%;background-repeat:no-repeat" <q-uploader style="display: inline-block;height:320px; max-width: 100%;background-repeat:no-repeat"
:style="{'background-image':'url(' + objOption.TeacherIcon + ')'}" max-files="1" hide-upload-btn :style="{'background-image':'url(' + objOption.TeacherIcon + ')'}" max-files="1" hide-upload-btn
@rejected="onRejected" label="教师形象照" :max-file-size="512*1024" accept=".jpg, image/*" auto-upload @rejected="onRejected" label="教师形象照" :max-file-size="5*1024*1024" accept=".jpg, image/*" auto-upload
:factory="uploadFile" no-thumbnails @added="getType(2)"> :factory="uploadFile" no-thumbnails @added="getType(2)">
</q-uploader> </q-uploader>
</div> </div>
......
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