Commit 2a1d68e7 authored by nanahira's avatar nanahira

move service provide later

parent 2e91dd5a
...@@ -188,7 +188,6 @@ export function DefinePlugin<T = any>( ...@@ -188,7 +188,6 @@ export function DefinePlugin<T = any>(
} }
_initializePluginClass() { _initializePluginClass() {
this._handleServiceProvide(true);
this._handleSystemInjections(); this._handleSystemInjections();
this._handleServiceInjections(); this._handleServiceInjections();
this.__registrar.performTopActions(this.__ctx); this.__registrar.performTopActions(this.__ctx);
...@@ -196,6 +195,7 @@ export function DefinePlugin<T = any>( ...@@ -196,6 +195,7 @@ export function DefinePlugin<T = any>(
if (typeof this.onApply === 'function') { if (typeof this.onApply === 'function') {
this.onApply(); this.onApply();
} }
this._handleServiceProvide(true);
this._registerAfterInit(); this._registerAfterInit();
} }
......
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