From 6e086427f7edf34c8bf277c6443ac573363a63f6 Mon Sep 17 00:00:00 2001 From: wangwencong Date: Thu, 21 Oct 2021 18:24:04 -0700 Subject: [PATCH 1/2] stepper,stepperItem Signed-off-by: wangwencong --- compiler/src/component_map.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/compiler/src/component_map.ts b/compiler/src/component_map.ts index 81a7ef1f2..d6d28bc29 100644 --- a/compiler/src/component_map.ts +++ b/compiler/src/component_map.ts @@ -152,6 +152,18 @@ export const COMPONENT_MAP: any = { 'loop', 'duration', 'vertical', 'itemSpace', 'displayMode', 'onChange' ] }, + Stepper: { + children: ['StepperItem'], + attrs: [ + 'onFinish', 'onSkip', 'onChange', 'onNext', 'onPrevious' + ] + + }, + StepperItem: { + parents: ['Stepper'], + single: true, + attrs: ['prevLabel', 'nextLabel', 'status'] + }, Rating: { attrs: ['stars', 'stepSize', 'starStyle', 'onChange'] }, -- Gitee From 414e6bf5f0194bafc8e5e97ba9ccc76aa93b4cec Mon Sep 17 00:00:00 2001 From: wangwencong Date: Thu, 21 Oct 2021 20:04:38 -0700 Subject: [PATCH 2/2] wangwencong1@huawei.com Signed-off-by: wangwencong --- compiler/src/component_map.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler/src/component_map.ts b/compiler/src/component_map.ts index d6d28bc29..bb64266fd 100644 --- a/compiler/src/component_map.ts +++ b/compiler/src/component_map.ts @@ -157,7 +157,6 @@ export const COMPONENT_MAP: any = { attrs: [ 'onFinish', 'onSkip', 'onChange', 'onNext', 'onPrevious' ] - }, StepperItem: { parents: ['Stepper'], -- Gitee