Commit 72e73543 by xujia

线上bug

parent 24b3c6db
...@@ -87,10 +87,12 @@ ...@@ -87,10 +87,12 @@
$rootScope.webHideMenus = []; $rootScope.webHideMenus = [];
$scope.$on("appid",function(e,msg){ $scope.$on("appid",function(e,msg){
$rootScope.appInstance = msg.info; $rootScope.appInstance = msg.info;
$scope.platform = msg.info.platform; $scope.platform = msg.info.platform;
$rootScope.isandroid = $scope.platform == 'Android'; $rootScope.isandroid = $scope.platform == 'Android';
$rootScope.isios = $scope.platform == 'iOS'; $rootScope.isios = $scope.platform == 'iOS';
$rootScope.isweb = $scope.platform == 'H5'; $rootScope.isweb = $scope.platform == 'H5';
$scope.appkey = msg.info.appkey;
var path = $location.$$path,idx = path.indexOf("Detail"); var path = $location.$$path,idx = path.indexOf("Detail");
if(path.indexOf('appDetail')>-1){return false;} if(path.indexOf('appDetail')>-1){return false;}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment