From 23cc108157d65ba2bf7f2206d8f7a8ce066bddb3 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 20 Apr 2020 11:08:02 +0800 Subject: [PATCH] =?UTF-8?q?[=E9=A6=96=E9=A1=B5]=E4=BF=AE=E5=A4=8D=E6=96=B0?= =?UTF-8?q?=E5=BB=BA=E6=B5=81=E7=A8=8B=E5=8F=AF=E8=83=BD=E5=87=BA=E9=94=99?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- o2web/source/o2_core/o2/o2.core.js | 2 +- o2web/source/x_component_Homepage/TaskContent.js | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/o2web/source/o2_core/o2/o2.core.js b/o2web/source/o2_core/o2/o2.core.js index a81a5c28fc..a93052075c 100644 --- a/o2web/source/o2_core/o2/o2.core.js +++ b/o2web/source/o2_core/o2/o2.core.js @@ -102,7 +102,7 @@ thisLoaded.push(m); o2.runCallback(callback, "every", [m]); if (module.length){ - _requireSequence(module, thisLoaded, thisErrorLoaded, callback); + _requireSequence(fun, module, thisLoaded, thisErrorLoaded, callback, async, compression); }else{ if (thisErrorLoaded.length){ o2.runCallback(callback, "failure", [thisLoaded, thisErrorLoaded]); diff --git a/o2web/source/x_component_Homepage/TaskContent.js b/o2web/source/x_component_Homepage/TaskContent.js index a7608cba84..aafd796e8f 100644 --- a/o2web/source/x_component_Homepage/TaskContent.js +++ b/o2web/source/x_component_Homepage/TaskContent.js @@ -23,7 +23,9 @@ MWF.xApplication.Homepage.TaskContent = new Class({ }.bind(this)); }, startProcess: function(){ - o2.requireApp([["process.TaskCenter", "lp."+o2.language], ["process.TaskCenter", ""]],"", function(){ + // o2.requireApp("process.TaskCenter", "lp."+o2.language, null, false); + // o2.requireApp("process.TaskCenter", "", null, false); + o2.requireApp([["process.TaskCenter", "lp."+o2.language], ["process.TaskCenter", ""]],"", function(){ var obj = { "lp": MWF.xApplication.process.TaskCenter.LP, "content": this.app.content, @@ -52,7 +54,7 @@ MWF.xApplication.Homepage.TaskContent = new Class({ }.bind(this) }); this.processStarter.load(); - }.bind(this)); + }.bind(this), true, true); }, initSize: function(){ this.setContentSize(); -- GitLab