错误错误:未捕获(承诺):QuotaExceededError Ionic 3 [英] ERROR Error: Uncaught (in promise): QuotaExceededError Ionic 3
本文介绍了错误错误:未捕获(承诺):QuotaExceededError Ionic 3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用 ionic 3 创建一个应用程序.我正在离子存储中保存一个字符串.我工作正常,但突然出现此错误.
I am creating an app with ionic 3. I am saving a string in ionic storage. I was working fine but suddenly I am getting this error.
Home.ts(这是我设置字符串的地方)
Home.ts (This is where I am setting my string)
this.storage.set("123", JSON.stringify(data))
.then(() => {
console.log("Saved")
})
我的字符串:
{"ImagePath":"Attachment/ProfileThumbnail/20180412134416Picture.jpg","name":"Sal man Ullah Khan","userId":238}
推荐答案
只需清除浏览器中您的应用程序的存储即可.
Just clear the storage of your App in the browser.
Chrome:转到开发工具.按 F12,应用程序选项卡,然后清除存储.
Chrome: Go to DevTools. Press F12, Application tab then Clear storage.
这篇关于错误错误:未捕获(承诺):QuotaExceededError Ionic 3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文