Kaynağa Gözat

Merge branch 'release-201807-suntg' of ssh://10.10.101.21/source/platform-b2b into feature-201807-hejq

hejq 7 yıl önce
ebeveyn
işleme
08052cc3c7
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      src/main/webapp/resources/js/index/app.js

+ 2 - 2
src/main/webapp/resources/js/index/app.js

@@ -24491,7 +24491,7 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
     /**
      * 树结构
      */
-    app.controller('treeController', function($scope, $location){
+    app.controller('treeController', ['$scope', '$location', function($scope, $location){
         $scope.roleList = [
             { "roleName" : "卖家中心(销售)", "roleId" : "role1", 'path': 'sale', level: 0, collapsed: true, "children" : [
                     { "roleName" : "商务管理", "roleId" : "role1-1", collapsed: true, "children" : [
@@ -24642,6 +24642,6 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
                 })
             }
         }, false);
-    })
+    }])
     return app;
 });