zhengjinyi 4 lat temu
rodzic
commit
6a03d3b4c6

+ 2 - 2
src/main/resources/static/js/document/details.js

@@ -45,8 +45,8 @@ var documentList = new Vue({
             if(_self.is_Wechat_bowcr){
                 _self.isWechatShowToest = true
             }else{
-                var BLOB = new Blob(['/7qBjQ4SKBd.txt']);
-                var url = window.URL.createObjectURL(BLOB);
+                // var BLOB = new Blob(['/7qBjQ4SKBd.txt']);
+                // var url = window.URL.createObjectURL(BLOB);
                 var DownloadLink = document.createElement('a');
                 DownloadLink.style.display = 'none';
                 DownloadLink.href = _self.ossArchivePdf.url;

+ 4 - 4
src/main/resources/static/js/document/list.js

@@ -80,12 +80,12 @@ var documentList = new Vue({
             if(_self.is_Wechat_bowcr){
                 _self.isWechatShowToest = true
             }else{
-                var BLOB = new Blob(['/7qBjQ4SKBd.txt']);
-                var url = window.URL.createObjectURL(BLOB);
+                // var BLOB = new Blob(['/7qBjQ4SKBd.txt']);
+                // var url = window.URL.createObjectURL(BLOB);
                 var DownloadLink = document.createElement('a');
                 DownloadLink.style.display = 'none';
-                DownloadLink.href = '/7qBjQ4SKBd.txt';
-                DownloadLink.setAttribute('download', '7qBjQ4SKBd.txt');
+                DownloadLink.href = 'https://static.caimei365.com/app/caimei-activity-h5/image/2021/01/01.jpg';
+                DownloadLink.setAttribute('download', '01.jpg');
                 document.body.appendChild(DownloadLink);
                 DownloadLink.click();
                 document.body.removeChild(DownloadLink);

+ 2 - 2
src/main/resources/static/js/document/more-content.js

@@ -41,8 +41,8 @@ var documentList = new Vue({
             if(_self.is_Wechat_bowcr){
                 _self.isWechatShowToest = true
             }else{
-                var BLOB = new Blob(['/7qBjQ4SKBd.txt']);
-                var url = window.URL.createObjectURL(BLOB);
+                // var BLOB = new Blob(['/7qBjQ4SKBd.txt']);
+                // var url = window.URL.createObjectURL(BLOB);
                 var DownloadLink = document.createElement('a');
                 DownloadLink.style.display = 'none';
                 DownloadLink.href = '/7qBjQ4SKBd.txt';