前端的list菜单是通过ajax解析并且返回值然后加载菜单
使用了angularjs的路由 但是不知道怎么动态配置 .when 这个只能写死么
app.config(['$routeProvider','$locationProvider',function($routeProvider,$locationProvider) {
这个方法一旦放到函数后续执行就不执行了,不知道为何
前端的list菜单是通过ajax解析并且返回值然后加载菜单
使用了angularjs的路由 但是不知道怎么动态配置 .when 这个只能写死么
app.config(['$routeProvider','$locationProvider',function($routeProvider,$locationProvider) {
这个方法一旦放到函数后续执行就不执行了,不知道为何