摘要:
vue 中使用 watch 出现了如下的报错 报错: Method "watch" has type "object" in the component definition. Did you reference the function Method "watch" has type "objec 阅读全文
posted @ 2019-10-16 16:16
用脑袋行走的人
阅读(1494)
评论(0)
推荐(0)
摘要:
close函数调用open函数,close函数里调用的open函数的参数this赋值给that,这样可以通过that调用到data中的hello。 阅读全文
posted @ 2019-10-16 15:47
用脑袋行走的人
阅读(10115)
评论(0)
推荐(0)
摘要:
不用修正箭头函数的this,this自动指向所在的上下文对象 对比非箭头函数的写法会更容易理解一些: 阅读全文
posted @ 2019-10-16 15:45
用脑袋行走的人
阅读(257)
评论(0)
推荐(0)

浙公网安备 33010602011771号