@ -463,7 +463,8 @@ export default {
// 上传组件预览
handleUploadPreview(file, column, done) {
const { url } = file
const { video, img } = this.$typeList
const video = /\.(swf|avi|flv|mpg|rm|mov|wav|asf|3gp|mkv|rmvb|ogg|mp4)/
const img = /\.(gif|jpg|jpeg|png|GIF|JPG|PNG)/
if (video.test(url) || img.test(url)) done()
else window.open(url)
},