From 36f45aa751f88dbb1b09ca01cc9559f716d97e8c Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Wed, 20 Dec 2023 16:22:40 +0800
Subject: [PATCH] 富文本框输入版本变化

---
 src/main/resources/templates/index.html |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html
index c54ada4..9efcd9a 100644
--- a/src/main/resources/templates/index.html
+++ b/src/main/resources/templates/index.html
@@ -15,9 +15,15 @@
     <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>
-    <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>
+    <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>-->
+    <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/wangeditor@latest/dist/wangEditor.min.js" ></script>
     <link rel="icon" th:href="@{febs/images/favicon.ico}" type="image/x-icon"/>
 </head>
 <body>

--
Gitblit v1.9.1