Commit 07a59852 authored by wjf's avatar wjf

l

parent 72651a60
...@@ -106,6 +106,8 @@ class ShareCodePanel extends ComponentBase { ...@@ -106,6 +106,8 @@ class ShareCodePanel extends ComponentBase {
} }
onTouchClickBg() { onTouchClickBg() {
layers.shareLayer.visible = false; layers.shareLayer.visible = false;
//关闭后要置null
this.code = null
} }
private codeOpr() { private codeOpr() {
......
...@@ -85,10 +85,10 @@ export default class StartPanel extends Panel { ...@@ -85,10 +85,10 @@ export default class StartPanel extends Panel {
onTap_startBtn() { onTap_startBtn() {
const homeData = getHomeData(); const homeData = getHomeData();
// if(homeData.remainEnargy <= 0) { if(homeData.remainEnargy <= 0) {
// if(homeData.askForEnergy) { if(homeData.askForEnergy) {
// PanelCtrl.instance.show('blood2Panel'); PanelCtrl.instance.show('blood2Panel');
// } else { } else {
if(iswx()) { if(iswx()) {
getShareUrl(this.stage); getShareUrl(this.stage);
} else } else
...@@ -101,9 +101,9 @@ export default class StartPanel extends Panel { ...@@ -101,9 +101,9 @@ export default class StartPanel extends Panel {
showToast('分享成功~'); showToast('分享成功~');
}); });
}) })
// } }
// return; return;
// } }
// Loading.instace.show(); // Loading.instace.show();
this.touchChildren = false; this.touchChildren = false;
......
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