阅读背景:

Ui Router没有显示嵌套的子内容

来源:互联网 

Here is my current code:

这是我目前的代码:

let views = { '': 'app/content.html' };

.state('auto', {
    url: '/automated',
    redirectToChild: {
        state: 'auto.index'
    },
    views: view
})
.state('auto.index', {
    url :'',
    templateUrl: '/app/automated/automated.html'
})
.state('auto.visit', {
    url: '/visit',
    views: {
        '': {templateUrl: '/app/automated/visit.html'}
     }
})
.state('auto.visit.create', {
    url: '/create',
    views: {
        '': {templateUrl: '/app/automated/_form.html'}
    }
})
let vie



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: