From 969e4564ccceb90eebb69d42947e9d90ae690ccd Mon Sep 17 00:00:00 2001 From: xwchris Date: Wed, 4 Dec 2024 21:31:25 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mona-service-commands/src/preview/index.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/mona-manager-plugins/mona-service-commands/src/preview/index.ts b/packages/mona-manager-plugins/mona-service-commands/src/preview/index.ts index 5bf16dde..9bca3658 100644 --- a/packages/mona-manager-plugins/mona-service-commands/src/preview/index.ts +++ b/packages/mona-manager-plugins/mona-service-commands/src/preview/index.ts @@ -25,7 +25,12 @@ const preview: IPlugin = ctx => { { options: [ { name: 'help', description: '输出帮助信息', alias: 'h' }, - { name: 'preview-page', description: '店铺装修预览页面', alias: 'pp' } + { name: 'preview-page', description: '店铺装修预览页面', alias: 'pp' }, + { + name: 'target', + description: '预览端(当为微应用时,需指定是在pc上预览还是移动端预览,默认为light)', + alias: 't', + }, ], usage: 'mona-service preview', },