Commit 33fea343 authored by 李维's avatar 李维

修复rows来源错误

parent 0759f9a6
...@@ -60,8 +60,7 @@ cc.Class({ ...@@ -60,8 +60,7 @@ cc.Class({
} }
getData((data) => { getData((data) => {
this.data = data || this.getDefaultData(); this.data = this.translateData(data.rows) || this.getDefaultData();
this.data = this.translateData(this.data)
console.log('data:', data); console.log('data:', data);
this.preloadItem() this.preloadItem()
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment