search

Home  >  Q&A  >  body text

angular.js - There must always be a section of $scope.$apply(); after obtaining data. What does this code mean?


After obtaining the data, there must always be a $scope.$apply(); What does this code mean?

我想大声告诉你我想大声告诉你2796 days ago664

reply all(1)I'll reply

  • 某草草

    某草草2017-05-15 17:13:22

    Call $apply to get your binding updates.

    Look at the official wiki: https://github.com/angular/an...$scope.$apply()

    Note: After clicking the url, paste the one left behind

    reply
    0
  • Cancelreply