余烬更新后LinkTo无法正常工作

麦片杀手

在更新了应用程序包(从rc6到1.0.0的Ember,从rc4到1.0.0的车把,以及从1.9.1到2.0.3的jquery)之后,我所有的链接都停止了。如果我单击链接,则会收到此警告:

This link-to is in an inactive loading state because at least one of its parameters presently has a null/undefined value, or the provided route name is invalid. 

其他一切似乎都还可以;有人可以解释吗?

这是我的路由器:

this.resource('eng', function(){
    this.route('home');
    this.route('aboutUs', {path: 'about-us'});
    this.route('newsArchive', {path: 'news-archive'});
    this.route('mattressesAreas', {path: 'mattresses-areas'});
    this.resource('eng.rent', {path: 'rent' }, function(){
        this.route('boulderSmall', {path: 'boulder-small'});
        this.route('boulderXl', {path: 'boulder-xl'});
        this.route('leadClimbing', {path: 'lead-climbing'});
        this.route('speedClimbing', {path: 'speed-climbing'});
        this.route('leadClimbingTurret', {path: 'lead-climbing-turret'});
        this.route('mattresses', {path: 'mattresses'});
    });
    this.resource('eng.factory', {path: 'factory'}, function(){
        this.route('panelType', {path: 'panel-type'});
        this.route('exteriorFinishing', {path: 'exterior-finishing'});
        this.route('buildingSystem', {path: 'building-system'});
        this.route('design');
    });
    this.resource('eng.holds', {path: 'holds'}, function(){
        this.route('importClimbingVolumes', {path: 'import-climbing-volumes'});
    });
    this.resource('eng.team', {path: 'team'}, function(){
        this.route('alePenna', {path: 'ale-penna'});
    });
    this.resource('eng.photoGallery', {path: 'photo-gallery'}, function(){
        this.route('evolutionClimbing', {path: 'evolution-climbing'});
        this.route('pragelatoBoulder', {path: 'pragelato-boulder'});
    });
    this.route('contacts');
    //error catch all
    this.route('404', { path: '*:' });

});

这是我的linkTo的一个示例:

{{#linkTo eng.aboutUs class="nav ck_0"}}About us{{/linkTo}}
拉尔洛尔

现在不建议使用linkTo帮助程序,您应该使用link-以避免将来出现问题。

例如 {{#link-to 'post' post}}View post{{/link-to}}

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

更新到Windows 8.1后MySQL无法正常工作

来自分类Dev

用stringstream :: str()更新后,C ++ stringstream无法正常工作

来自分类Dev

记录更新后,PHP标头功能无法正常工作

来自分类Dev

更新支持库后,RecycleView无法正常工作

来自分类Dev

更新后ServiceBusTrigger无法正常工作

来自分类Dev

symfony树枝翻译在更新后无法正常工作

来自分类Dev

android:textColor在支持库23.2.1更新后无法正常工作

来自分类Dev

NetBeans更新后无法正常工作

来自分类Dev

Netflix桌面在更新后无法正常工作

来自分类Dev

NetBeans更新后无法正常工作

来自分类Dev

余烬更新后LinkTo无法正常工作

来自分类Dev

更新到Windows 8.1后MySQL无法正常工作

来自分类Dev

Mendeley在上次Ubuntu更新后无法正常工作

来自分类Dev

更新Ubuntu 14.04.1后耳机无法正常工作

来自分类Dev

Eclipse更新后无法正常工作

来自分类Dev

更新无法正常工作

来自分类Dev

Windows 8.1更新后,MySQL无法正常工作

来自分类Dev

ubuntu更新后,Serialport无法正常工作吗?

来自分类Dev

Windows 10更新后Bash无法正常工作

来自分类Dev

Asp.Net:TableSorter更新后无法正常工作

来自分类Dev

1.3.0更新后,Android Studio无法正常工作

来自分类Dev

内核更新后OpenGL无法正常工作(12.04)

来自分类Dev

更新到Ubuntu 15.10后autofs无法正常工作

来自分类Dev

Xubuntu Wifi驱动程序在更新后无法正常工作

来自分类Dev

Windows 10更新后Chrome无法正常工作

来自分类Dev

更新后,我的系统无法正常工作

来自分类Dev

更新支持库后,RecycleView无法正常工作

来自分类Dev

更新后,jQuery Mobile Panel无法正常工作

来自分类Dev

android:textColor在支持库23.2.1更新后无法正常工作

Related 相关文章

热门标签

归档