mirror of
https://github.com/Leo501/CocosCreatorTutorial.git
synced 2026-05-31 06:29:19 +08:00
完善listview
This commit is contained in:
@@ -53,6 +53,8 @@ export default class ListViewFactory extends cc.Component {
|
||||
});
|
||||
//显示
|
||||
this.listView.set_data(data);
|
||||
this.scrollview.scrollToTop();
|
||||
this.scrollview.stopAutoScroll();
|
||||
}
|
||||
|
||||
update(dt) {
|
||||
|
||||
Reference in New Issue
Block a user