Skip to content

Commit c0978e4

Browse files
authored
Merge pull request #475 from hwxy/dev
修复amap组件的cursor
2 parents c422b95 + c6f727d commit c0978e4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/docs/zh-cn/base/amap.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
---|---|---|
8585
vid | String | 地图容器节点的ID。
8686
amapManager| AMapManager | 地图管理对象。
87-
cursor | String | 地图默认鼠标样式。参数cursor应符合CSS的cursor属性规范
87+
defaultCursor | String | 地图默认鼠标样式。参数defaultCursor应符合CSS的cursor属性规范
8888
animateEnable | Boolean | 地图平移过程中是否使用动画,默认为true,即使用动画。
8989
isHotspot | Boolean | 是否开启地图热点,默认false 不打开。
9090
rotateEnable | Boolean | 地图是否可旋转,默认false。

src/lib/components/amap.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default {
3030
'level',
3131
'zooms',
3232
'lang',
33-
'cursor',
33+
'defaultCursor',
3434
'crs',
3535
'animateEnable',
3636
'isHotspot',
@@ -130,6 +130,7 @@ export default {
130130
},
131131
132132
mounted() {
133+
console.log(this.$options);
133134
this.createMap();
134135
},
135136

0 commit comments

Comments
 (0)