提交 7fd90cd2 编写于 作者: d-u-a's avatar d-u-a

fix: vue3 vue map组件,更新经纬度时值颠倒问题

上级 93723eaf
......@@ -236,7 +236,7 @@ export default /*#__PURE__*/ defineBuiltInComponent({
([latitude, longitude]) => {
map &&
map.setStyles({
center: new plus.maps.Point!(Number(latitude), Number(longitude)),
center: new plus.maps.Point!(Number(longitude), Number(latitude)),
})
}
)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册