Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ionic-framework/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ionic framework 离子三层嵌套_Ionic Framework - Fatal编程技术网

Ionic framework 离子三层嵌套

Ionic framework 离子三层嵌套,ionic-framework,Ionic Framework,我有以下离子的状态配置: .state('index', { url: '', abstract: true, templateUrl: 'templates/home/home.html', controller: 'HomeCtr' }) .state('index.list-folders', { url: '/list-folders', views: { 'folderList@index': {

我有以下离子的状态配置:

  .state('index', {
    url: '',
    abstract: true,
    templateUrl: 'templates/home/home.html',
    controller: 'HomeCtr'
  })

  .state('index.list-folders', {
    url: '/list-folders',
    views: {
      'folderList@index': {
        templateUrl: 'templates/home/home_content.html',
        controller: 'HomeListsCtr'
      }
    }
  })

  .state('index.list-folders.list', {
    url: "/list-folders/list",
    views:{
      "listContainer@index": {
        templateUrl: "templates/home/list.html"
      }
    }
  })
我的索引状态(home.html)包含以下ion nav视图:

<ion-nav-view name="folderList"></ion-nav-view>
<ion-nav-view name="listContainer"></ion-nav-view>

我从中了解到,在
ion nav视图
前面有一个
@
,这意味着它绝对以父视图中的
ion nav视图
为目标

但是,当我尝试导航到
/list folders/list
时,我会被重定向回
$urlRouterProvider.others()中的默认阶段