jufubao-admin-library 1.1.141 → 1.1.143

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -54,6 +54,7 @@
54
54
  ></xd-pagination>
55
55
  </div>
56
56
  </el-card>
57
+ <iframe id="download-url" style="display: none"></iframe>
57
58
  </div>
58
59
  </template>
59
60
 
@@ -331,9 +332,12 @@ export default {
331
332
  download_url = res.data['download_url']
332
333
  }
333
334
  // #endif
334
- let fileName = '';
335
- if(file_name && file_ext) fileName = `${file_name}.${file_ext}`;
336
- downloadJs(download_url,fileName);
335
+
336
+ if(download_url) {
337
+ let download = document.getElementById('download-url');
338
+ download.src = download_url
339
+ }
340
+
337
341
  loading.close()
338
342
  }).catch(err=>{
339
343
  loading.close()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-admin-library",
3
- "version": "1.1.141",
3
+ "version": "1.1.143",
4
4
  "description": "聚福宝福利后台管理系统公共模块",
5
5
  "author": "goashiyong <gaoshiyong1272@vip.163.com>",
6
6
  "scripts": {