From 80a3f59e2d3df07805bc67e329300b8de90a5b3a Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期二, 11 七月 2023 14:13:08 +0800
Subject: [PATCH] Merge branch 'LEXCommunityLiJun' into LEXUpgrade2023-Deloitte
---
force-app/main/default/lwc/lexInventory/lexInventory.js | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/force-app/main/default/lwc/lexInventory/lexInventory.js b/force-app/main/default/lwc/lexInventory/lexInventory.js
index 07ed955..ac48985 100644
--- a/force-app/main/default/lwc/lexInventory/lexInventory.js
+++ b/force-app/main/default/lwc/lexInventory/lexInventory.js
@@ -615,15 +615,11 @@
doc += '</table>';
console.log('doc' + doc);
var bom = '\uFEFF';
- // link.href = 'data:text/csv;charset=utf-8,' + encodeURIComponent(bom + csv);
var element =
'data:application/vnd.ms-excel,' + encodeURIComponent(bom + doc);
let downloadElement = document.createElement('a');
downloadElement.href = element;
downloadElement.target = '_self';
- // 璁剧疆鍝嶅簲澶寸鐢ㄧ紦瀛�
- // downloadElement.setAttribute('data-turbolinks-cache-control', 'no-cache');
- // downloadElement.setAttribute('data-turbolinks-track', 'reload');
// use .csv as extension on below line if you want to export data as csv
downloadElement.download = '鍦ㄥ簱璋冩暣涓�瑙�.xls';
document.body.appendChild(downloadElement);
@@ -854,4 +850,4 @@
.querySelector('c-common-toast')
.showToast(variant, content, iconName, 10000);
}
-}
\ No newline at end of file
+}
--
Gitblit v1.9.1