Indexeddb防止遇到 error 时自动取消事务
request.onerror = function(event){ console.error("addPublication error", this.error); // do nothing event.preventDefault(); };
request.onerror = function(event){ console.error("addPublication error", this.error); // do nothing event.preventDefault(); };