Browse Source

修改上传视频大小限制

feature/syp_points
liuchuang 5 years ago
parent
commit
fe8f95553d
  1. 4
      src/views/modules/news/banner-add-or-update.vue

4
src/views/modules/news/banner-add-or-update.vue

@ -263,8 +263,8 @@ export default {
this.loading = true this.loading = true
}, },
beforeVideoUpload (file) { beforeVideoUpload (file) {
if (file.size > 52428800) { if (file.size > 524288000) {
return this.$message.error('文件大小不能超过50M') return this.$message.error('文件大小不能超过500M')
} }
this.videoLoading = true this.videoLoading = true
}, },

Loading…
Cancel
Save