Javascript Meteor中的铁路由器包问题?

Javascript Meteor中的铁路由器包问题?,javascript,meteor,iron-router,Javascript,Meteor,Iron Router,我需要知道铁路由器软件包的使用情况。我正在使用最新版本的meteor 问题:我正在使用路由器。转到(“你好”) Router.go工作正常。但问题是将hello模板数据附加到现有的模板数据。 请参阅以下代码: router.js: Router.map(function() { this.route('home', {path: '/'}); this.route('hello',{path: 'hello'}); }); hello.html: <Template name =

我需要知道铁路由器软件包的使用情况。我正在使用最新版本的meteor

问题:我正在使用路由器。转到(“你好”)

Router.go工作正常。但问题是
hello
模板数据附加到现有的模板数据。

请参阅以下代码:

router.js:

Router.map(function() {
  this.route('home', {path: '/'});
  this.route('hello',{path: 'hello'});
});
hello.html:

<Template name = "hello">
   <h1>This is hello sections</h1>
</Template>
输出显示:

单击按钮之前:

Hello World!
Welcome to sampleApp.
**Button Click Me**
Hello World!
Welcome to sampleApp.
**Button Click Me**
This is hello sections
单击按钮后:

Hello World!
Welcome to sampleApp.
**Button Click Me**
Hello World!
Welcome to sampleApp.
**Button Click Me**
This is hello sections
这里的问题是路线。去不去新的页面。那么怎么办。请建议我


提前感谢。

编辑:只需删除该部分:
{{>hello1}}
并且它将按照您希望的方式工作:)body标记中的内容将始终呈现

你试过这个了吗?如果是,请标记为正确。谢谢