From 96778f656fa80358c9d87e36a13e93fe994deadf Mon Sep 17 00:00:00 2001
From: yangjieke <yangjieke@prec-tech.com>
Date: 星期五, 18 三月 2022 19:41:26 +0800
Subject: [PATCH] 产品名称、型号的判断改为大小写敏感
---
force-app/main/default/pages/UploadPdf.page | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/pages/UploadPdf.page b/force-app/main/default/pages/UploadPdf.page
index cc9e50b..0d2702d 100644
--- a/force-app/main/default/pages/UploadPdf.page
+++ b/force-app/main/default/pages/UploadPdf.page
@@ -89,6 +89,7 @@
}
}
function uploadFileToAWS(data, size, fileName) {
+ debugger
console.log("body=" + JSON.stringify({ 'file': data, "size": size, 'fileName': fileName }));
AWSService.post(uploadUrl, JSON.stringify({
'file': data,
@@ -96,7 +97,7 @@
'fileName': fileName })
, function(result){
console.log("result" + JSON.stringify(result));
-
+
if (result.success == true) {
key = result.object;
@@ -121,7 +122,7 @@
},
{ escape: true }
);
-
+ debugger
console.log('key' + key);
} else {
alertErrorMessage('涓婁紶澶辫触璇风◢鍚庡啀璇曪紒');
--
Gitblit v1.9.1