From 41a40b83863033d33117e1fe52f9f8604970b42a Mon Sep 17 00:00:00 2001 From: syb01094648 Date: Fri, 3 Nov 2023 12:01:47 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=9C=B0=E5=9B=BE?= =?UTF-8?q?token=E5=A4=B1=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .umirc.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.umirc.ts b/.umirc.ts index b6e2dfbd..0fbc0770 100644 --- a/.umirc.ts +++ b/.umirc.ts @@ -85,6 +85,10 @@ export default defineConfig({ '.__dumi-default-layout { padding-left: 350px !important; }', ], scripts: [ + ` window._AMapSecurityConfig = { + securityJsCode: "290ddc4b0d33be7bc9b354bc6a4ca614" + }`, + 'https://webapi.amap.com/maps?v=2.0&key=6f025e700cbacbb0bb866712d20bb35c', 'https://gw.alipayobjects.com/os/lib/react/17.0.2/umd/react.development.js', 'https://gw.alipayobjects.com/os/lib/react-dom/17.0.2/umd/react-dom.development.js', 'https://gw.alipayobjects.com/os/lib/antd/4.23.6/dist/antd.js', From 0d6fbdb42273dc5268ee5b624b572c62afdac6b6 Mon Sep 17 00:00:00 2001 From: syb01094648 Date: Fri, 3 Nov 2023 14:17:29 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20main.js=E6=89=A9=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a0007fb6..921a0b79 100644 --- a/package.json +++ b/package.json @@ -97,7 +97,7 @@ "limit-size": [ { "path": "dist/larkmap.min.js", - "limit": "300 Kb" + "limit": "350 Kb" } ], "keywords": [