From 7f7961060a8d819e2db4ba263426b85414e41c4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E9=91=AB?= <1781189926@qq.com> Date: Thu, 13 Oct 2016 12:50:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E5=86=8CRegular=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E7=BC=BA=E5=B0=91=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 注册Regular模块时,缺少参数 --- src/util/dispatcher/regularModule.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/dispatcher/regularModule.js b/src/util/dispatcher/regularModule.js index 19555d07..0e4ece63 100644 --- a/src/util/dispatcher/regularModule.js +++ b/src/util/dispatcher/regularModule.js @@ -162,10 +162,10 @@ NEJ.define([ var _$$OuterModule = _k._$klass(); var _pro = _$$OuterModule._$extend(_p._$$RegularModule); - _pro.__init = function(){ + _pro.__init = function(_options){ this.__umiAlias = _umiAlias; this._$$InnerModule = _$$InnerModule; - this.__super(); + this.__super(_options); } _v._$addEvent(document, 'templateready', function(){