Commit 4cc9043f authored by nanahira's avatar nanahira

fix immediate things

parent 5a69f938
...@@ -33,7 +33,7 @@ const base = StarterPlugin(OrderPickerConfig); ...@@ -33,7 +33,7 @@ const base = StarterPlugin(OrderPickerConfig);
@Provide('utility', { immediate: true }) @Provide('utility', { immediate: true })
@DefinePlugin() @DefinePlugin()
class Utility extends base { class Utility extends base {
@Inject(true) @Inject()
private aragami: AragamiPlugin; private aragami: AragamiPlugin;
async isOnline(selfId: string) { async isOnline(selfId: string) {
...@@ -48,7 +48,7 @@ class Utility extends base { ...@@ -48,7 +48,7 @@ class Utility extends base {
@DefinePlugin() @DefinePlugin()
class ControlPanel extends base { class ControlPanel extends base {
@Inject(true) @Inject()
private uitlity: Utility; private uitlity: Utility;
@UseCommand('order', '抢单管理', { empty: true }) @UseCommand('order', '抢单管理', { empty: true })
...@@ -80,7 +80,6 @@ class ControlPanel extends base { ...@@ -80,7 +80,6 @@ class ControlPanel extends base {
} }
} }
@Reusable()
@UsingService('aragami') @UsingService('aragami')
@Isolate('utility') @Isolate('utility')
@OnPlatform('onebot') @OnPlatform('onebot')
......
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