我正在将LocalForage用于ngrx存储持久化,它已添加到main.ts文件中。它在chrome和firefox中可以正常工作,但是在边缘浏览器中出现以下错误。实施有问题吗?
getAllDataFromLocalForage({
driver: localForage.INDEXEDDB,
keys: [
'GetData'
]
}).then((ref) => {
platformBrowserDynamic().bootstrapModule(AppModule)
.catch(err => console.error(err));
});
错误
Promise rejection: Object doesn't support property or method 'openKeyCursor' ; Zone: <root> ; Task: Promise.then