Commit 3fd42e16 authored by 沈翠玲's avatar 沈翠玲

扩大版本更新限制范围

parent 1ee36973
...@@ -192,7 +192,7 @@ ...@@ -192,7 +192,7 @@
handleBeforeUpload(file) { handleBeforeUpload(file) {
this.loading = true this.loading = true
// 校检文件后缀名 // 校检文件后缀名
if(file && file.name && file.name.substring(file.name.lastIndexOf('.') + 1) === 'apk') { if(file && file.name && (file.name.substring(file.name.lastIndexOf('.') + 1) === 'apk' || file.name.substring(file.name.lastIndexOf('.') + 1) === 'wgt')) {
return true; return true;
} else { } else {
this.$message.error('请上传APK安装包'); this.$message.error('请上传APK安装包');
......
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