From 37f79b279bcf165d09c4339396cb5446d2fe28fb Mon Sep 17 00:00:00 2001 From: jianneng-fit2cloud Date: Thu, 8 Jan 2026 13:14:03 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E8=AE=BE=E7=BD=AE=EF=BC=8C=E5=A4=A9=E5=9C=B0?= =?UTF-8?q?=E5=9B=BE=E6=B7=BB=E5=8A=A0sk=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core-frontend/src/views/system/parameter/map/OnlineMap.vue | 1 + .../src/views/system/parameter/map/OnlineMapTdt.vue | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/system/parameter/map/OnlineMap.vue b/core/core-frontend/src/views/system/parameter/map/OnlineMap.vue index d52ad540e0..a0076f782f 100644 --- a/core/core-frontend/src/views/system/parameter/map/OnlineMap.vue +++ b/core/core-frontend/src/views/system/parameter/map/OnlineMap.vue @@ -54,6 +54,7 @@ { return } const mykey = props.mapKey - const url = `https://api.tianditu.gov.cn/api?v=4.0&tk=${mykey}` + const securityCode = props.securityCode ? '&sk=' + props.securityCode : '' + const url = `https://api.tianditu.gov.cn/api?v=4.0&tk=${mykey}${securityCode}` loadScript(url) .then(() => {