|
|
@@ -627,7 +627,7 @@ define([ 'angularAMD', 'ngLocal', 'common/services', 'common/directives', 'commo
|
|
|
}
|
|
|
});
|
|
|
|
|
|
- app.run(['$rootScope', '$state', '$q', 'BaseService', 'StoreInfo', function($rootScope, $state, $q, BaseService, StoreInfo) {
|
|
|
+ app.run(['$rootScope', '$state', '$q', 'BaseService', 'StoreInfo', '$location', function($rootScope, $state, $q, BaseService, StoreInfo, $location) {
|
|
|
$rootScope.rootPath = BaseService.getRootPath();
|
|
|
$rootScope.page = 'vendor';// 导航栏状态,'个人中心'状态激活
|
|
|
|
|
|
@@ -677,8 +677,7 @@ define([ 'angularAMD', 'ngLocal', 'common/services', 'common/directives', 'commo
|
|
|
$rootScope.applyStatus = 'NONE';
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- if ($rootScope.applyStatus === 'NONE') {
|
|
|
+ if ($rootScope.applyStatus === 'NONE' && $location.$$path === '/index') {
|
|
|
$state.go('vendor_store_apply');
|
|
|
}
|
|
|
|