【发布时间】:2017-12-24 15:28:28
【问题描述】:
我们在meteor的帮助器中使用ReactiveMethod调用。但是大多数时候没有刷新浏览器它会显示以前的数据(如果传递的参数没有改变)。解决办法是什么?
我使用下面方法的内部助手
customerOutsTanding: function(){
return ReactiveMethod.call("outstanding",customerId);
}
outstanding 将使用 boostrap 模型输入文本支付,它会关闭。但是使用响应式方法调用它不会更新。刷新浏览器后它会得到更新
【问题讨论】:
-
如果不显示任何实现代码,对您帮助不大。
-
内部助手我使用下面的方法 customerOutsTanding: function(){ return ReactiveMethod.call("outstanding",customerId);使用boostrap模型输入文本支付未完成,它会关闭。但使用反应方法调用它不会更新。刷新浏览器后它会更新
标签: meteor meteor-blaze