search

Home  >  Q&A  >  body text

angular.js - How to save data before angular page refreshes

On the editing page, it is necessary not to lose the user’s editing traces due to refreshing, and the data needs to be saved before refreshing

習慣沉默習慣沉默2735 days ago935

reply all(1)I'll reply

  • 欧阳克

    欧阳克2017-06-24 09:45:02

    Provide ideas:
    html5 sessionStorage/localStorage can be used;
    Strategy:
    Save regularly and save when losing focus, the user completely abandons it or clears the current storage information after editing is completed

    reply
    0
  • Cancelreply