Browse Source

bug修复

薛鸿潇 5 năm trước cách đây
mục cha
commit
248d1cdf81
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      assets/script/game/module/reward/Reward.ts

+ 2 - 0
assets/script/game/module/reward/Reward.ts

@@ -248,6 +248,8 @@ export default class Reward extends cc.Component {
      * 提现操作
      */
     private clickCashOut() {
+        gData.reward.addReward();
+        mk.ui.closePanel(this.node.name);
         let path = 'module/redBagCash/redBagCash';
         mk.ui.openPanel(path);
     }