Commit ec761d38 by 前端

fixed

1 parent 796ca205
......@@ -72,7 +72,7 @@ export default {
},
data() {
return {
limitSize: 20,
limitSize: 1024,
size: 'small',
dialogVisibleImg: false,
loading: false,
......@@ -104,10 +104,10 @@ export default {
const self = this
let file = e.target.files[0]
const isLt = file.size / 1024 / 1024 < this.limitSize
if (!isLt) {
this.$message.error('上传视频大小不能超过' + this.limitSize + 'MB!')
return true
}
// if (!isLt) {
// this.$message.error('上传视频大小不能超过' + this.limitSize + 'MB!')
// return true
// }
self.loading = true
upload.init().then(res => {
if (res.status == 0) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!