Commit b541bbff authored by youjie's avatar youjie

no message

parent 83dc61b7
......@@ -256,14 +256,15 @@
return
}
// 1 文档 2 数据 3 图片
let typeArr = [{
let typeArr = [
{
stringArr: 'GIF|JPG|JPEG|PNG|BMP',
type: 3
},
{
stringArr: 'DOCX|DOC|XLSX|XLS|PPT|PPTX|PDF',
type: 1
},
// {
// stringArr: 'DOCX|DOC|XLSX|XLS|PPT|PPTX|PDF',
// type: 1
// },
]
let ft = file.file.name.substring(file.file.name.lastIndexOf('.') + 1, file.file.name.length).toUpperCase();
let fileTypeNumber = 2;
......@@ -274,7 +275,7 @@
typeOk = true;
}
});
if (!typeOk) return this.$message.error(this.$t('tips.qscWEfile'));
if (!typeOk) return this.$message.error(this.$t('tips.qsctpian'));
let newArr = [];
newArr.push(file.file)
let path = "/Upload/Temporary/"
......
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