tangshuang / indb

Maybe the best way to understand and use indexedDB. 😄😄😄
60 stars 10 forks source link

TypeError: r.transaction.commit is not a function #3

Open huanghairong2312 opened 3 years ago

huanghairong2312 commented 3 years ago

at t.iterate.direction (xxxx.js) at onTouch (xxxx.js) at IDBRequest.objectStore.then.s.onsuccess (xxxx.js)

后来我阅读mdn文档,发现 事物的commit方法 存在兼容性,而且indexdb的事物是自动提交的,不需要人为干预