3.7 删除数据3.7 删除数据IDBObjectStore.delete()方法用于删除记录。 function remove() { var request = db.transaction(['person'], 'readwrite') .objectStore('person') .delete(1); request.onsuccess = function (event) { console.log('数据删除成功'); };}remove();