From 60077685d3558adee9f45d2231184fa8304b59fe Mon Sep 17 00:00:00 2001 From: Hentua <wangdoubleone@gmail.com> Date: Thu, 20 Apr 2023 02:46:31 +0800 Subject: [PATCH] fix --- src/main/resources/templates/index.html | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 0edae19..b664d62 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -14,8 +14,12 @@ <link rel="stylesheet" th:href="@{febs/css/eleTree.css}" media="all"> <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> + window._AMapSecurityConfig = { + securityJsCode : '3d6014e2619ab82ab4f10fa908e15ba2' + } + </script> + <script src="https://webapi.amap.com/maps?v=2.0&key=f734eff869207f9afbd5462a3ac6bff5&plugin=AMap.AutoComplete,AMap.PlaceSearch"></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