0
,如果我的路線文件看起來像這樣路由和「這個」關鍵詞
'/posts/:_id': {
to: 'somePage',
and: function(id) { Session.set('someId', id); } }
我用它像{{somePagePath this}}
我的html文件,我知道somePagePath
等於/post/
。但在這種情況下,this
是什麼意思?
我可以用不同的方式寫嗎?
它是一個綁定我路由參數的對象嗎?所以這個,是this._id
的簡寫?