薛鸿潇 5 лет назад
Родитель
Сommit
caa9c7946f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      assets/script/game/module/module/receiptNotice/ReceiptNotice.ts

+ 1 - 1
assets/script/game/module/module/receiptNotice/ReceiptNotice.ts

@@ -36,6 +36,6 @@ export default class ReceiptNotice extends cc.Component {
     private initStyle() {
         this.lbl_receipt_rmb.string = '¥' + gData.receiptNotice.receip_rmb + '元';
         this.lbl_rmb_total.string = '¥' + gData.receiptNotice.receip_total_rmb + '元';
-        this.lbl_user_name.string = '用户名';
+        this.lbl_user_name.string = gData.wechatData.nickName || '';
     }
 }