Closed tong233 closed 5 years ago
162行不加syncParams好像也没影响
这个是解决什么场景下的什么问题?
storage.getBatchDataWithIds({
key: 'enumList',
ids: ids,
syncParams: {
hasPlaceholder: true
}
})
storage.Sync = {
enumList(params) {
const { id, resolve, reject, syncParams } = params
console.log(syncParams) // undefined 这里取不到值
...
}
}
storage.load没这个问题
fix getBatchDataWithIds storage.sync syncParams undefined.