From d269823f0711a2291caaf4cfb51ead4d078f44d9 Mon Sep 17 00:00:00 2001 From: coding Date: Thu, 30 Nov 2017 05:23:43 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=8F=92=E4=BB=B6?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E5=85=BC=E5=AE=B9=E6=A3=80=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/core/init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/core/init.js b/src/main/resources/core/init.js index 1eecbf8..38ce341 100644 --- a/src/main/resources/core/init.js +++ b/src/main/resources/core/init.js @@ -83,7 +83,7 @@ function loadPlugins() { // 初始化本体插件 global.manager = require('api/plugin'); - if (global.manager) { + if (global.manager && global.manager.$) { global.manager.init('plugins'); // 只有当在正式环境运行的时候才加载 global.manager.load();