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

fix: nvue map API moveToLocation 参数经纬度无效及无回调问题

上级 f4806267
......@@ -8,8 +8,8 @@ const METHODS = {
getCenterLocation (ctx, cbs) {
return invokeVmMethodWithoutArgs(ctx, 'getCenterLocation', cbs)
},
moveToLocation (ctx) {
return invokeVmMethodWithoutArgs(ctx, 'moveToLocation')
moveToLocation (ctx, args) {
return invokeVmMethod(ctx, 'moveToLocation', args)
},
translateMarker (ctx, args) {
return invokeVmMethod(ctx, 'translateMarker', args, ['animationEnd'])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册