angular.js - angular-ui-router为什么不能加载视图?
黄舟
黄舟 2017-05-15 16:59:29
0
2
689
      Title   
  

为什么我打开页面后,地址是http://localhost:63341/firecontrol/test.html#/a/b,但是没有东西出来呢?template: '

This is b

'好像没有效果,控制台没报什么错啊?
黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all (2)
大家讲道理

a configuration inside

.state('a', { url: '/a', template:'

' })
    漂亮男人

    You need to configure the following attributes ina:

    .state('a', { url: '/a', abstract: true })

    Hope it helps~ :)

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!