From 1f7383c5e295f11a66fdfa9b75e596f72b35b4a8 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Thu, 15 Sep 2022 16:38:51 +0800 Subject: [PATCH] 20220902 --- src/main/resources/templates/index.html | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index c54ada4..a110623 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -15,7 +15,12 @@ <link rel="stylesheet" th:href="@{febs/css/apexcharts.min.css}" media="all"> <link rel="stylesheet" th:href="@{febs/css/formSelects-v4.css}" media="all"> <!-- 高德地图,key为演示作用,请勿滥用--> - <script src="https://webapi.amap.com/maps?v=1.4.15&key=0e8a587317998a5e03cf608649b229d6&plugin=AMap.Autocomplete"></script> + <script type="text/javascript"> + window._AMapSecurityConfig = { + securityJsCode:'50d73a585f300cccf7fc2bf31d0c38c8', + } + </script> + <script src="https://webapi.amap.com/maps?v=1.4.15&key=e32064fc8a9dfe7af7d2d0a947b8df32&plugin=AMap.Autocomplete,AMap.PolyEditor,AMap.Geocoder,AMap.PolylineEditor"></script> <link href="https://unpkg.com/@wangeditor/editor@5.0.1/dist/css/style.css" rel="stylesheet"> <script src="https://unpkg.com/@wangeditor/editor@latest/dist/index.js"></script> <link rel="icon" th:href="@{febs/images/favicon.ico}" type="image/x-icon"/> -- Gitblit v1.9.1