From 540ea577413a2009ca98210e1dc6098e939d27ab Mon Sep 17 00:00:00 2001 From: terwer Date: Sun, 5 Mar 2023 01:12:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20#27=20=E4=BD=BF=E7=94=A8=E6=8F=92?= =?UTF-8?q?=E4=BB=B6=E7=B3=BB=E7=BB=9F=E6=8C=82=E8=BD=BD=E8=8F=9C=E5=8D=95?= =?UTF-8?q?-=E4=BC=98=E5=8C=96=E6=8F=92=E4=BB=B6=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E9=9B=86=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/zhi/Lifecycle.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/apps/zhi/Lifecycle.ts b/src/apps/zhi/Lifecycle.ts index f4957be8..adecbba1 100644 --- a/src/apps/zhi/Lifecycle.ts +++ b/src/apps/zhi/Lifecycle.ts @@ -23,13 +23,13 @@ * questions. */ -import loadOtherlib from "~/src/utils/otherlib/loadOtherlib" +import pluginSystem from "~/src/apps/zhi/plugin-system" /** * zhi主题统一生命周期管理 * * @author terwer - * @since 0.0.1 + * @since 1.0.0 */ class Lifecycle { private _dynamicImports = [] @@ -57,7 +57,7 @@ class Lifecycle { * @private */ private loadPluginSystem(): string[] { - return loadOtherlib.loadPluginSystemScript() + return pluginSystem.initPluginSystem() } /** @@ -66,7 +66,7 @@ class Lifecycle { * @private */ private loadWidgets(): string[] { - return loadOtherlib.loadWidgetsScript() + return [] } /** @@ -75,8 +75,8 @@ class Lifecycle { * @private */ private loadVendors(): string[] { - return loadOtherlib.loadVendorsScript() + return [] } } -export default Lifecycle +export default Lifecycle \ No newline at end of file