jufubao-admin-library 1.1.150 → 1.1.152

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.
@@ -396,15 +396,15 @@ export default {
396
396
  download_url = download_url.replace(regMasterHost,'private-file.jufubao.cn');
397
397
  }
398
398
 
399
- // let filename = `${file_name}.${file_ext}`;
400
- // const link = document.createElement('a');
401
- // link.href = download_url;
402
- // link.download = filename;
403
- // document.body.appendChild(link);
404
- // link.click();
405
- // document.body.removeChild(link);
406
- // loading.close();
407
- // return
399
+ let filename = `${file_name}.${file_ext}`;
400
+ const link = document.createElement('a');
401
+ link.href = download_url;
402
+ link.download = filename;
403
+ document.body.appendChild(link);
404
+ link.click();
405
+ document.body.removeChild(link);
406
+ loading.close();
407
+ return
408
408
 
409
409
  //pdf下载
410
410
  if(/^.+(\.pdf)$/.test(download_url.split('?')[0])){
@@ -1143,7 +1143,7 @@ export default {
1143
1143
  },
1144
1144
  ],
1145
1145
  },
1146
- (this.$channelCode==='wenyu_dingdong'||this.$channelCode==='rt_mart')&&params.site_id&&{
1146
+ (this.$channelCode==='wenyu_dingdong'||this.$channelCode==='rt_mart'||this.$channelCode==='qxdaojia')&&params.site_id&&{
1147
1147
  label: "手机号收集页:",
1148
1148
  ele: "xd-select-site-path",
1149
1149
  className: "input100",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-admin-library",
3
- "version": "1.1.150",
3
+ "version": "1.1.152",
4
4
  "description": "聚福宝福利后台管理系统公共模块",
5
5
  "author": "goashiyong <gaoshiyong1272@vip.163.com>",
6
6
  "scripts": {