Commit 6eac03bb authored by wildfirecode's avatar wildfirecode

1

parent 33caf127
......@@ -43,7 +43,7 @@ export default class SignPanel extends Panel {
NetManager.ins.doSign((s)=>{
this.hidePanel();
if(s) {
const {customInfo,success} =DataManager.ins.getData(['dosign']);
const {customInfo,success} =DataManager.ins.getData('dosign');
if(!success || !customInfo.success || customInfo.prizeType =='none') {
if(customInfo.code==100004) {
showToast('哎呀,奖励擦肩而过!明天再来试试吧!');
......
......@@ -10,7 +10,7 @@ export default class SignPrizePanel extends Panel {
this['numsgroup'].visible=false;
//奖品类型,none无奖励, object实物,virtual虚拟商品,coupon券,道具prop,元宝coin,体力times,
const {customInfo} =DataManager.ins.getData(['dosign']);
const {customInfo} =DataManager.ins.getData('dosign');
const prizeType= customInfo.prizeType ;
if(customInfo.logo && prizeType!= 'times' && prizeType!= 'coin'&& prizeType!= 'prop') {
this['img'].source = customInfo.logo;
......
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