提交 c27ab763 authored 作者: 王鹏飞's avatar 王鹏飞

作业上传支持更多格式

上级 fcd31e76
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<!-- 简答题 --> <!-- 简答题 -->
<template v-if="type === 3"> <template v-if="type === 3">
<v-editor v-model="currentValue.user_answer" :disabled="disabled"></v-editor> <v-editor v-model="currentValue.user_answer" :disabled="disabled"></v-editor>
<v-upload :disabled="disabled" v-model="currentValue.attachments" accept=".pdf" v-if="hasUpload" <v-upload :disabled="disabled" v-model="currentValue.attachments" accept=".pdf,.doc,.docx,.dot,.dotx,.txt" v-if="hasUpload"
>{{ $t('viewerWork.workUrl.label') }}</v-upload >{{ $t('viewerWork.workUrl.label') }}</v-upload
> >
</template> </template>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论