diff --git a/lib/client/index.js b/lib/client/index.js index 57d1af4..35831e4 100644 --- a/lib/client/index.js +++ b/lib/client/index.js @@ -20284,7 +20284,7 @@ function MailGatewaySection({ api }) { // src/client/index.ts var name = "dsh-mail-sender"; -var inject = ["slots", "remote"]; +var inject = ["slots", "remote", "remote.mail-gateway"]; async function apply(ctx) { const disposeRemote = await ctx.remote.$mount(remote_default); const api = createApi(ctx); diff --git a/src/client/index.ts b/src/client/index.ts index 9d76b9a..20a6f86 100644 --- a/src/client/index.ts +++ b/src/client/index.ts @@ -8,7 +8,7 @@ import { createApi } from './api.js' import { MailGatewaySection } from './MailGatewaySection.js' export const name = 'dsh-mail-sender' -export const inject = ['slots', 'remote'] +export const inject = ['slots', 'remote', 'remote.mail-gateway'] /** 挂载本插件的 Remote 命名空间,并在设置页注册“邮件网关”分区。 */ export async function apply(ctx: Context): Promise<() => Promise> {