错误错误:未捕获(承诺中):QuotaExceededError Ionic 3 [英] ERROR Error: Uncaught (in promise): QuotaExceededError Ionic 3
本文介绍了错误错误:未捕获(承诺中):QuotaExceededError Ionic 3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用ionic 3创建一个应用程序.我正在将字符串保存在ionic存储器中.我的工作正常,但突然我收到了此错误.
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}
推荐答案
只需清除浏览器中App的存储.
Just clear the storage of your App in the browser.
Chrome : 转到DevTools.按F12,应用程序"选项卡,然后按清除存储".
Chrome: Go to DevTools. Press F12, Application tab then Clear storage.
这篇关于错误错误:未捕获(承诺中):QuotaExceededError Ionic 3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文