How to clear the backbone localstorage

前端 未结 4 637
栀梦
栀梦 2020-12-30 12:12

The javascript one seems pretty simple, just localStorage.clear().

Is there anything similar to that for the backbone localstorage, and if not, can someone point me

4条回答
  •  暖寄归人
    2020-12-30 12:29

    If you don't want to do this programmatically, you can always open up Developer Mode (F12), navigate to the Resources tab, select "Local Storage" from the left pane and delete the records.

    Update: In the newer versions of Chrome, the Resources tab has been replaced with the Application tab.

提交回复
热议问题