|
@@ -23,6 +23,8 @@
|
|
|
|
|
|
<script>
|
|
|
import AMapLoader from "@amap/amap-jsapi-loader";
|
|
|
+
|
|
|
+// @ts-ignore
|
|
|
window._AMapSecurityConfig = {
|
|
|
// 安全密钥
|
|
|
securityJsCode: "679d00a7b459e5bd24ec792c8b7083fd",
|
|
@@ -123,7 +125,7 @@ export default {
|
|
|
try {
|
|
|
// 自动适应显示想显示的范围区域
|
|
|
this.map.setFitView();
|
|
|
- // eslint-disable-next-line no-undef
|
|
|
+ // @ts-ignore
|
|
|
this.marker = new AMap.Marker({
|
|
|
map: this.map,
|
|
|
position: [this.form.lng, this.form.lat],
|