Skip to content

Commit

Permalink
chore: 组件不支持本地预览
Browse files Browse the repository at this point in the history
  • Loading branch information
xwchris committed Jan 6, 2025
1 parent 21338a5 commit fca19a6
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ const preview: IPlugin = ctx => {
const answer = await ask(askOpts);
const { previewPage: pageType } = answer;

if (pageType === 'category') {
console.log(chalk.blue("当前分类页组件不支持本地预览,请通过yarn upload上传新版本,在动态测试阶段进行预览!"));
break;
}

await pipe((ctx: any) => ({ ctx }), buildMaxComponent, processMaxComponentData, createTestVersionFactory(request, args), (params: any) => ({ ...params, pageType }), generateQrcodeFactory(request), printQrcode('抖音'))(ctx);
break;
case AppSceneTypeEnum.DESIGN_CENTER_TEMPLATE:
Expand Down

0 comments on commit fca19a6

Please sign in to comment.