|
|
@@ -17,9 +17,10 @@ export default class CashNormal extends cc.Component {
|
|
|
// onLoad () {}
|
|
|
|
|
|
start() {
|
|
|
+ gData.cashNormal.getRecord();
|
|
|
this.initTotal();
|
|
|
- this.initScrollView();
|
|
|
- this.initNoneItem();
|
|
|
+ // this.initScrollView();
|
|
|
+ // this.initNoneItem();
|
|
|
}
|
|
|
|
|
|
// update (dt) {}
|
|
|
@@ -49,4 +50,12 @@ export default class CashNormal extends cc.Component {
|
|
|
this.lbl_none.node.active = true;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ update(){
|
|
|
+ if(gData.cashNormal.update_list){
|
|
|
+ this.initScrollView();
|
|
|
+ this.initNoneItem()
|
|
|
+ gData.cashNormal.update_list = false;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|