req.onsuccess()=function(){???var cursor = this.result;???if(cursor){????var value = {?????id:cursor.value.id,? //???????????????code:data.Code,?????date:data.Date,?????goodscode:data.GoodsCode,?????brandName:data.BrandName,?????num:data.Num,?????price:data.Price,?????personName:data.PersonName,?????email:data.Email????};?????? cursor.update(value);???}??? }其中 cursor.value.id? 是什么?游標的value屬性介紹一下,還有id具體代表什么,麻煩解釋下,小弟謝過啦!!
indexedDB數(shù)據(jù)庫的一個小問題!請大家?guī)兔纯?,謝謝!
雞肋2016
2016-10-16 18:23:40