WangBin

Results comments of WangBin

> 4.0.9的devtool vue3无法使用,不知道这么重要的功能在不经过测试怎么发布的,浪费了太多时间在上面了 4.1.1 的devtool vue3 无法使用,报错:TypeError: Cannot read property 'chrome' of undefined,一点办法没有。。。。。

event.currentTarget指向事件所绑定的元素,而event.target始终指向事件发生时的元素。

var app = nvar app = new Vue({ el: "#app", data: {}, methods: { a: () => { console.log(this); //Window } } }); 为什么我的this指向的是Window?

> 可以,但eslint不允许你这么做 不是啊,就算没有eslint依然会报错的。[Vue warn]: Method "myname" has already been defined as a data property.