Commit 158b48c6 authored by liujiangnan's avatar liujiangnan

debug

parent aa28dc73
...@@ -1300,12 +1300,6 @@ export default class NewClass extends middleLayerBase { ...@@ -1300,12 +1300,6 @@ export default class NewClass extends middleLayerBase {
cc.find('middleLayer/downloadSourceLayer/progress/desc').getComponent(cc.Label).string = `${finished} / ${total}`; cc.find('middleLayer/downloadSourceLayer/progress/desc').getComponent(cc.Label).string = `${finished} / ${total}`;
cc.find('middleLayer/downloadSourceLayer/progress/bar').width = Math.floor(490 * percent / 100); cc.find('middleLayer/downloadSourceLayer/progress/bar').width = Math.floor(490 * percent / 100);
cc.find('middleLayer/downloadSourceLayer/per').getComponent(cc.Label).string = `${percent}%`; cc.find('middleLayer/downloadSourceLayer/per').getComponent(cc.Label).string = `${percent}%`;
if (!laodingLayer.active) {
return false;
throw Error("===取消加载===");
}
}, () => { }, () => {
laodingLayer.active = false; laodingLayer.active = false;
anim.stop('loading'); anim.stop('loading');
......
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