文件打包下载
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
66eb44ef05
commit
80801979fe
|
@ -15,6 +15,7 @@ export const downloadImage = async (id, id2) => {
|
|||
SubjectVisitId: id2
|
||||
}
|
||||
let res = await requestPackageAndAnonymizImage(params);
|
||||
flag[id2] = false;
|
||||
if (res.IsSuccess) {
|
||||
if (!res.Result) {
|
||||
Vue.prototype.$message.warning(Vue.prototype.$t("trials:upload:message:not"))
|
||||
|
@ -28,10 +29,11 @@ export const downloadImage = async (id, id2) => {
|
|||
a.href = href;
|
||||
a.click();
|
||||
URL.revokeObjectURL(href);
|
||||
this.$nextTick(() => {
|
||||
let timer = setTimeout(() => {
|
||||
a = null;
|
||||
href = null;
|
||||
});
|
||||
timer = null;
|
||||
}, 500)
|
||||
return 2;
|
||||
} else {
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue