@@ -309,6 +309,11 @@ export default {
a.setAttribute('href', filePath);// href链接
a.click(); //自执行点击事件
a.remove();
+ } else {
+ this.$message({
+ message: res.msg,
+ type: "error"
+ });
}
},
error => {