소스 검색

Merge remote-tracking branch 'origin/release-201807-suntg' into release-201807-suntg

hejq 7 년 전
부모
커밋
d02b9f6dd3
1개의 변경된 파일1개의 추가작업 그리고 25개의 파일을 삭제
  1. 1 25
      src/main/webapp/resources/js/index/app.js

+ 1 - 25
src/main/webapp/resources/js/index/app.js

@@ -23,31 +23,7 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
         return httpInterceptor;
     }]);
     app.config(['$stateProvider', '$urlRouterProvider', function ($stateProvider, $urlRouterProvider) {
-        $stateProvider.state('index', {
-            url: "/index",
-            views: {
-                "left-view": {
-                    templateUrl: "static/tpl/index/home/left.html",
-                    controller: 'LeftCtrl'
-                },
-                "right-view": {
-                    templateUrl: "static/tpl/index/home/right.html",
-                    controller: 'RightCtrl'
-                }
-            }
-        }).state('home', {
-            url: "/",
-            views: {
-                "left-view": {
-                    templateUrl: "static/tpl/index/home/left.html",
-                    controller: 'LeftCtrl'
-                },
-                "right-view": {
-                    templateUrl: "static/tpl/index/home/right.html",
-                    controller: 'RightCtrl'
-                }
-            }
-        }).state('sale', {
+        $stateProvider.state('sale', {
             url: "/sale",
             views: {
                 "left-view": {