Commit b3e528a8 authored by chenqikuai's avatar chenqikuai

fix: 修改视频上传大小限制为20M(设置成后端支持的最大大小)

parent 13c3da59
......@@ -56,7 +56,7 @@ export default class TypeEight extends Vue {
private handleFileChange(e: any) {
const [ file ] = e.target.files;
if (!file) { return; }
if (file.size > 10 * 1024 * 1024) {
if (file.size > 20 * 1024 * 1024) {
this.$toast('文件太大');
return;
}
......
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