Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在文档中,@click应该将event对象与值“type”、“target”和“timestamp”绑定。但是,在撰写此问题时,我根本没有看到这些值。
@click
event
请看看这个游乐场。
我尝试event在控制台中打印对象,但只有type对象。我究竟做错了什么 ?
type
请显示您的代码。
默认@click包含“类型”、“目标”和“时间戳”。我可以在控制台中显示它们