Commit a91eff16 authored by 邱旭's avatar 邱旭

1

parent 9473bd5e
...@@ -148,6 +148,13 @@ export default class Turntable extends Panel { ...@@ -148,6 +148,13 @@ export default class Turntable extends Panel {
}); });
} else if(!data.option) { } else if(!data.option) {
PanelCtrl.instance.show("TurntableNoPrizePanel", {type: 3}); PanelCtrl.instance.show("TurntableNoPrizePanel", {type: 3});
} else {
loadSvga(getResPath() + 'resource/assets/svgas/turnprize.svga').then(async (mv: any) => {
let _data = Utils.deepClone(data);
_data.mv = mv;
console.log(_data);
PanelCtrl.instance.show('TurnPrizePanel', _data);
});
} }
}); });
}) })
......
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