【发布时间】:2016-04-18 21:29:07
【问题描述】:
我正在使用以下内容:
let box = bootbox.dialog({title:'',message:''});
box.find('.bootbox-body').remove();
Blaze.renderWithData(template,doc,box.find(".modal-body")[0]);
它可以正确渲染,但不是反应式的。
我怀疑我在直接传递文档时遇到问题,并且文档的 _id 可用。
我应该将什么传递给 renderWithData 以使结果具有反应性?
【问题讨论】:
标签: templates meteor meteor-blaze bootbox