|
|
|
@ -120,7 +120,7 @@
|
|
|
|
<el-upload style="width: 300px" ref="upload" multiple :on-success="
|
|
|
|
<el-upload style="width: 300px" ref="upload" multiple :on-success="
|
|
|
|
(response, file, fileList) =>
|
|
|
|
(response, file, fileList) =>
|
|
|
|
successHandle(response, file, fileList, 'video_id')
|
|
|
|
successHandle(response, file, fileList, 'video_id')
|
|
|
|
" :before-upload="uploadBefore" accept=".mp4,.avi,.wmv" :action="action" :file-list="video_id"
|
|
|
|
" :before-upload="uploadBefore" accept=".mp4,.avi,.wmv,.mp3" :action="action" :file-list="video_id"
|
|
|
|
:auto-upload="false" :on-remove="
|
|
|
|
:auto-upload="false" :on-remove="
|
|
|
|
(file, fileList) => removeHande(file, fileList, 'video_id')
|
|
|
|
(file, fileList) => removeHande(file, fileList, 'video_id')
|
|
|
|
">
|
|
|
|
">
|
|
|
|
@ -128,7 +128,7 @@
|
|
|
|
<el-button style="margin-left: 10px" size="small" type="success"
|
|
|
|
<el-button style="margin-left: 10px" size="small" type="success"
|
|
|
|
@click="$refs['upload'].submit()">开始上传</el-button>
|
|
|
|
@click="$refs['upload'].submit()">开始上传</el-button>
|
|
|
|
<div slot="tip" class="el-upload__tip">
|
|
|
|
<div slot="tip" class="el-upload__tip">
|
|
|
|
支持文件格式:.mp4 .avi .wmv
|
|
|
|
支持文件格式:.mp4 .avi .wmv .mp3
|
|
|
|
<br />单个文件不能超过300M
|
|
|
|
<br />单个文件不能超过300M
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</el-upload>
|
|
|
|
</el-upload>
|
|
|
|
|