我在Meteor中使用内置的loginButtons选项,我想在用户登录后重定向.使用内置的网页代码段意味着我无法使用Meteor.loginwithPassword的回调,我看不到任何内部的钩子Iron-Router进行重定向.
有什么建议?
meteor iron-router
似乎Deps.autorun是要走的路,但是Router.go似乎在Deps.autorun中不起作用.
iron-router ×2
meteor ×2