Skip to content

Commit 2e8f302

Browse files
authored
Create README.md
1 parent 8d9140f commit 2e8f302

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1082,22 +1082,22 @@ app.config(['$stateProvider', '$urlRouterProvider', function($stateProvider, $ur
10821082
})
10831083
}]);
10841084
```
1085-
主路由,路由地址为_#/main_
1085+
主路由,路由地址为__#/main__
10861086
```
10871087
app.controller('mainCtrl', function($scope) {
10881088
$scope.name = 'Wscats';
10891089
})
10901090
```
10911091
1092-
main路由下的子路由,路由地址为_#/main/pageMain1_
1092+
main路由下的子路由,路由地址为__#/main/pageMain1__
10931093
10941094
```
10951095
app.controller('pageMain1Ctrl',function($scope){
10961096
$scope.name = 'Oaoafly'
10971097
})
10981098
```
10991099
### 嵌套路由
1100-
此时我们就可以在_main.html_上放第二个`ui-view`这里比原生好的地方在于可以嵌套路由
1100+
此时我们就可以在__main.html__上放第二个`ui-view`这里比原生好的地方在于可以嵌套路由
11011101
main.html
11021102
```html
11031103
<!--main-->

0 commit comments

Comments
 (0)