阅读背景:

可以绑定$scope,但不能访问数组,除非添加Alert()

来源:互联网 

I am using the SharePoint JavaScript Object Model within an Angular controller to retrieve data from the Taxonomy (term store). By using $scope.apply, I am able to bind the array to scope and use the values in a dropdown since SharePoint's JavaScript Object Model is not a normal Angular function understood by scope. This works as intended.I am using the SharePoint JavaScript Object Mod




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: