<template name="add">
{{> addst grName="{{name}}" }} // tried without "" throwing error
<div >{{name}}</div> //Displaying the name
</template>
<template name="addst">
{{grName}} //Not working displaying {{name}}
</template>
为什么上面的代码不起作用。
仅供参考,在路由器中,我正在发送数据以添加 tempate
groups.findOne({_id:this.params._id}); in data context