|
@@ -108,8 +108,8 @@ export default defineComponent({
|
|
|
'jpeg',
|
|
|
'png',
|
|
|
'mp4',
|
|
|
- 'ppt',
|
|
|
- 'pptx',
|
|
|
+ // 'ppt',
|
|
|
+ // 'pptx',
|
|
|
'mp3'
|
|
|
];
|
|
|
if (!isAllowedFileType(file.file.name, allowedExtensions)) {
|
|
@@ -430,7 +430,8 @@ export default defineComponent({
|
|
|
// }}
|
|
|
customRequest={onCustomRequest}
|
|
|
v-model:fileList={fileListRef.value}
|
|
|
- accept=".jpg,jpeg,.png,audio/mp3,video/mp4,application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation"
|
|
|
+ // accept=".jpg,jpeg,.png,audio/mp3,video/mp4,application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation"
|
|
|
+ accept=".jpg,jpeg,.png,audio/mp3,video/mp4"
|
|
|
multiple={true}
|
|
|
max={10}
|
|
|
// disabled={props.disabled}
|
|
@@ -446,7 +447,8 @@ export default defineComponent({
|
|
|
<div class={styles.iconUploadAdd} />
|
|
|
<h3>点击或者拖动文件到该区域来上传</h3>
|
|
|
<p>
|
|
|
- 仅支持JPG、PNG、MP3、MP4、PPT格式文件,单次最多支持
|
|
|
+ {/* 仅支持JPG、PNG、MP3、MP4、PPT格式文件,单次最多支持 */}
|
|
|
+ 仅支持JPG、PNG、MP3、MP4,单次最多支持
|
|
|
<br />
|
|
|
上传10个文件
|
|
|
</p>
|