【发布时间】:2018-06-22 11:25:03
【问题描述】:
<Checkbox v-model="chkbox" @tap="onTap($event)"></Checkbox>
我在我的 HTML 上得到了这个,而我的方法看起来像这样:
onTap(args){
console.log(args)
}
但是我遇到了这样的错误
System.err: Calling js method onSingleTapUp failed
System.err: Error: java.lang.NoSuchFieldError: no "I" field "AXIS_RELATIVE_X"
in class "Landroid/view/MotionEvent;" or its superclasses
有人可以帮我解决这个问题吗?谢谢
【问题讨论】:
-
你在哪里定义 $event ?
标签: vue.js nativescript