Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
546 views
in Technique[技术] by (71.8m points)

angularjs 和安卓,iOS进行js交互 调用两者的方法,安卓一切正常,iOS端却是没反应,急啊

app.controller('goodsCtrl', function($scope, $http,$window) {

$scope.brands_ids=$window.localStorage['brands_ids'];  //接受参数
$window.localStorage.removeItem('brands_ids');

alert(222) //苹果的走到这里下面就走不了了
obj.getProv();  //安卓一切正常,将此方法注释后苹果端就一切正常了  
$scope.sale_nums_order=2;
$scope.price_order=2;
$scope.nogoods=false;
alert(111);

})
有没有哪位大神遇见过这种情况呐


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

我也遇到这样的问题。你解决了吗?qq 1149538213


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...