vue watch bug记录

watch中,写箭头函数,获取不到正确的this

 

换成function,正确取到this

原文地址:https://www.cnblogs.com/lurenjia1994/p/9835605.html