vue-tap
vue-tap copied to clipboard
wechat browser: Property or method "splice" is not defined on the instance but referenced during render
template:
script:
import Vue from 'vue';
import Tap from 'v-tap';
Vue.use(Tap);
method:
workScale: function (params) {
console.log('this', params, this);
},
and console :
this Object {src: "./images/0422.jpg", event: TouchEvent, tapObj: Object}
VueComponent {_uid: 5, _isVue: true, $options: Object, _renderProxy: Object, _self: VueComponent…}
[Vue warn]: Property or method "splice" is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the data option.
麻烦给我你的dom片段和你的js