From 44b7f67a2029aafd43d9eb4de7b28561f0f53bcd Mon Sep 17 00:00:00 2001 From: xiaoxie <hotcoffie@163.com> Date: 星期六, 23 四月 2022 23:54:49 +0800 Subject: [PATCH] 在1e2d207aea24b5956d5ece95ed4a9db0f59f34d7这个版本中,作者删除了initData函数,但是忘记删除mounted中的this.mounted() 导致console报错 --- web_src/index.html | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web_src/index.html b/web_src/index.html index df23a7f..f69f16b 100644 --- a/web_src/index.html +++ b/web_src/index.html @@ -15,9 +15,9 @@ <div id="app"></div> <!-- built files will be auto injected --> <script> - // map缁勪欢鍏ㄥ眬鍙傛暟 + // map缁勪欢鍏ㄥ眬鍙傛暟, 娉ㄩ噴姝ゅ唴瀹瑰彲浠ュ叧闂湴鍥惧姛鑳� window.mapParam = { - // 鍧愭爣绯� GCJ-02 WGS-84, 榛樿WGS-84 + // 鍧愭爣绯� GCJ-02 WGS-84, coordinateSystem: "GCJ-02", // 鍦板浘鐡︾墖鍦板潃 tilesUrl: "http://webrd0{1-4}.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scale=1&style=8", @@ -28,7 +28,7 @@ // 榛樿鍦板浘涓績鐐� center:[116.41020, 39.915119], // 鍦板浘鏈�澶у眰绾� - maxZoom:19, + maxZoom:18, // 鍦板浘鏈�灏忓眰绾� minZoom: 3 } -- Gitblit v1.8.0