我有这个代码
Template.home.events 'click .buy': (event) ->
event.preventDefault()
???
return
用户单击按钮(购买
)后,我希望它会转到路由器路径/product
。我应该在我的代码中添加什么?
最佳答案
关于javascript - meteor JS : Iron router on click button,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29429365/