插件新增支持缓存

This commit is contained in:
cool 2024-03-16 16:28:46 +08:00
parent 099f133ee7
commit 08a7842912

View File

@ -112,7 +112,10 @@ export class PluginService extends BaseService {
await instance.init( await instance.init(
this.pluginCenterService.pluginInfos.get(key), this.pluginCenterService.pluginInfos.get(key),
this.ctx, this.ctx,
this.app this.app,
{
cache: this.midwayCache,
}
); );
return instance; return instance;
} }