Просмотр исходного кода

去除进入店铺管理逻辑

yangc 7 лет назад
Родитель
Сommit
b237f7feff
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      src/main/webapp/resources/js/vendor/app.js

+ 3 - 2
src/main/webapp/resources/js/vendor/app.js

@@ -699,9 +699,10 @@ define([ 'angularAMD', 'ngLocal', 'common/services', 'common/directives', 'commo
 				if ($location.$$path === '/index') {
 					if ($rootScope.applyStatus === 'NONE') {
 						$state.go('vendor_store_apply');
-					} else if ($rootScope.applyStatus === 'PASS') {
-						$state.go('vendor_store_maintain');
 					}
+					// else if ($rootScope.applyStatus === 'PASS') {
+					// 	$state.go('vendor_store_maintain');
+					// }
 				}
                 // 是否pcb
                 StoreInfo.isPcb({enuu: $rootScope.userInfo.enterprise.uu}, function (res) {