jingyuanchao 2 жил өмнө
parent
commit
687bac1ab1

+ 2 - 2
src/views/core/edu/task/dialog.info.vue

@@ -224,7 +224,7 @@ export default {
             } else {
                 let link = document.createElement("a");
                 let body = document.querySelector("body");
-/*
+
                  link.href = URL.createObjectURL(blob);
                  link.download = filename;
 
@@ -235,7 +235,7 @@ export default {
                  link.click();
                  body.removeChild(link);
 
-                window.URL.revokeObjectURL(link.href);*/
+                window.URL.revokeObjectURL(link.href);
            }
         },
         // 事件