当自动化代码报错时不下载
This commit is contained in:
@@ -274,6 +274,9 @@ export default {
|
||||
return false;
|
||||
}
|
||||
const data = await createTemp(this.form);
|
||||
if(data.headers?.success == "false"){
|
||||
return
|
||||
}
|
||||
const blob = new Blob([data]);
|
||||
const fileName = "ginvueadmin.zip";
|
||||
if ("download" in document.createElement("a")) {
|
||||
|
Reference in New Issue
Block a user