javascript - Vue2 writes its own transition component, why can't it be bound using the new class method?
伊谢尔伦
伊谢尔伦 2017-06-26 10:54:35
0
1
809

Why is the event of picture 1 not bound? It is bound when I use method 2. Why is this?
Picture 1

Picture 2

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(1)
代言

https://cn.vuejs.org/v2/api/#...

on: should be followed by Object or Function

There is still a difference between new Class and using {} to directly create an Object

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template