Browse Source

[修改]高德key

master
邵佳豪 1 year ago
parent
commit
d208427798
  1. 2
      package.json
  2. 13
      src/index.html

2
package.json

@ -3,7 +3,7 @@
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve --proxy-config proxy.config.json --open",
"start": "ng serve --proxy-config proxy.config.json --open --port 8222",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",

13
src/index.html

@ -1,5 +1,6 @@
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title>智能实战指挥平台</title>
@ -8,10 +9,16 @@
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link href='/assets/icon/material-icons.css' rel="stylesheet">
</head>
<body>
<app-root></app-root>
</body>
<script src="https://webapi.amap.com/maps?v=2.0&key=e4b359dc7b03f9418b7497f807131346"></script>
<script src="https://webapi.amap.com/loca?v=2.0&key=e4b359dc7b03f9418b7497f807131346"></script>
<script type="text/javascript">
window._AMapSecurityConfig = {
securityJsCode: '0afa0b144398727fad2ca06f5f7156b3'
}
</script>
<script src="https://webapi.amap.com/maps?v=2.0&key=17bb9b27e49451cde8f2e6655b11ff1a"></script>
<script src="https://webapi.amap.com/ui/1.1/main.js"></script>
</html>
</html>
Loading…
Cancel
Save