Meteor 流星铁路线在iframe中不反应?

Meteor 流星铁路线在iframe中不反应?,meteor,leaflet,iron-router,meteor-blaze,Meteor,Leaflet,Iron Router,Meteor Blaze,我正在meteor中开发一个带有传单的地图应用程序。为了在标记弹出窗口中显示数据,我创建了一个路由,并在弹出窗口上从和iframe调用它。当我单独显示路线时,它是被动的。当同一路线显示在弹出窗口中时,它不是。 我已经用铁路线建立了一条路线。当我导航到页面时,一切都正常。 如果我把路线放在另一个meteor页面的iframe中,它会呈现但不是反应性的 代码如下: 模板 <template name="prueba"> {{#each Clientes}} {{No

我正在meteor中开发一个带有传单的地图应用程序。为了在标记弹出窗口中显示数据,我创建了一个路由,并在弹出窗口上从和iframe调用它。当我单独显示路线时,它是被动的。当同一路线显示在弹出窗口中时,它不是。 我已经用铁路线建立了一条路线。当我导航到页面时,一切都正常。 如果我把路线放在另一个meteor页面的iframe中,它会呈现但不是反应性的

代码如下:

模板

<template name="prueba">
    {{#each Clientes}}
       {{Nombre}} 

    {{/each}}
</template>
助手

Template.prueba.helpers ({

  Clientes: function() {

    return clientes.find({ lunes: Session.get("Lunes") });
    }

  });
弹出窗口

map.on('locationfound',函数(e){
位置=新的L标记(e.latlng,{icon:gpsIcon});
位置。添加到(地图);
map.setZoom(18);
position.bindpoppup(“”).openPopup();
});

只是一个想法:尝试将html放入会话而不是模板中,并在
position.bindPopup(session.get('clientes')).openPopup()中调用它我使用解决方案创建了回购:
Template.prueba.helpers ({

  Clientes: function() {

    return clientes.find({ lunes: Session.get("Lunes") });
    }

  });
map.on('locationfound', function(e){
      position= new L.marker(e.latlng,{icon:gpsIcon});
      position.addTo(map);
      map.setZoom(18);
      position.bindPopup('<iframe src="/prueba"  style="border:none"> </iframe>').openPopup();
    });