From 94227ef8fd16305dfd3d253320fbc6dfff1b8c77 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 30 Nov 2020 14:35:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=80=83=E5=8B=A4=E5=9C=A8ht?= =?UTF-8?q?tps=E4=B8=8B=E8=AE=BE=E7=BD=AE=E5=9C=B0=E5=9B=BE=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- o2web/source/x_component_Attendance/AddressExplorer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/o2web/source/x_component_Attendance/AddressExplorer.js b/o2web/source/x_component_Attendance/AddressExplorer.js index 32c3e21d29..1d65229844 100644 --- a/o2web/source/x_component_Attendance/AddressExplorer.js +++ b/o2web/source/x_component_Attendance/AddressExplorer.js @@ -170,7 +170,7 @@ MWF.xApplication.Attendance.AddressExplorer.BaiduMap = new Class({ //var apiPath = "http://api.map.baidu.com/api?v=2.0&ak=Qac4WmBvHXiC87z3HjtRrbotCE3sC9Zg"; var apiPath; var accountkey = ak || "Qac4WmBvHXiC87z3HjtRrbotCE3sC9Zg"; - if( window.location.protocol.toLowerCase() === "https" ){ + if( window.location.protocol.toLowerCase() === "https:" ){ apiPath = "https://api.map.baidu.com/getscript?v=2.0&ak="+accountkey+"&services=&t=20161219171637"; }else{ apiPath = "http://api.map.baidu.com/getscript?v=2.0&ak="+accountkey+"&services=&t=20161219171637"; -- GitLab