Commit 8f3f6e43 authored by wildfirecode's avatar wildfirecode

1

parent fee68a9d
...@@ -4,6 +4,7 @@ import { NetManager } from "../../libs/tw/manager/NetManager"; ...@@ -4,6 +4,7 @@ import { NetManager } from "../../libs/tw/manager/NetManager";
import SceneCtrl from "../../libs/new_wx/ctrls/sceneCtrl"; import SceneCtrl from "../../libs/new_wx/ctrls/sceneCtrl";
import { showToast } from "../../libs/new_wx/ctrls/toastCtrl"; import { showToast } from "../../libs/new_wx/ctrls/toastCtrl";
import { getlogItem } from "../Main"; import { getlogItem } from "../Main";
import wait from "../../libs/new_tc/wait";
export default class BloodPanel extends Panel { export default class BloodPanel extends Panel {
start(data) { start(data) {
...@@ -65,7 +66,10 @@ this['price1Txt'].text = window['price1'] ...@@ -65,7 +66,10 @@ this['price1Txt'].text = window['price1']
NetManager.ins.hc_home(() => { NetManager.ins.hc_home(() => {
this.updateData(); this.updateData();
SceneCtrl.instance.updateScene(); SceneCtrl.instance.updateScene();
}, window['collectRuleId']) }, window['collectRuleId']);
wait(2000).then(()=>{
showToast('分享成功~');
});
}) })
} }
protected get closeBtns(): eui.Button[] { return [this['closeBtn'], this['resumeBtn']] } protected get closeBtns(): eui.Button[] { return [this['closeBtn'], this['resumeBtn']] }
......
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