angular.js - angularjs + ajax data is not refreshed, why
習慣沉默
習慣沉默 2017-05-15 16:52:25
0
2
528

The data binding of angularjs is very easy to use. The company wants to develop SDK. Due to history, angular needs to be combined with ajax. However, after ajax, angularjs does not refresh the page data when data is assigned, but the data appears again after clicking. I know why,

習慣沉默
習慣沉默

reply all(2)
黄舟

Get the data to $scope.xxx 之后 $scope.$digest Give it a try, I have also encountered such a thing.

洪涛

http://stackoverflow.com/a/21128340/2586541

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template