From 9fa05868f538e427b6ade5961d31fb430f7013d4 Mon Sep 17 00:00:00 2001 From: Akokko <50227429+Akokk0@users.noreply.github.com> Date: Tue, 16 Jan 2024 16:18:43 +0800 Subject: [PATCH] Update service.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit package.json service声明修正 --- zh-CN/guide/plugin/service.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/zh-CN/guide/plugin/service.md b/zh-CN/guide/plugin/service.md index 68147ab209dd..805391b61b60 100644 --- a/zh-CN/guide/plugin/service.md +++ b/zh-CN/guide/plugin/service.md @@ -367,8 +367,10 @@ export class ExamplePlugin extends DataService { ```json { - "service": { - "required": ["console"] + "koishi": { + "service": { + "required": ["console"] + } }, "peerDependencies": { "@koishijs/plugin-console": "^5.13.0"