From e64bf0e45d10836729b9c93f401a5a5db7a9dc3e Mon Sep 17 00:00:00 2001 From: yaoyuchi Date: Thu, 27 Jan 2022 16:34:57 +0800 Subject: [PATCH] update forbiddenUseStateType Signed-off-by: yaoyuchi --- compiler/src/component_map.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/src/component_map.ts b/compiler/src/component_map.ts index 5d8bd85c0..86b9f8d80 100644 --- a/compiler/src/component_map.ts +++ b/compiler/src/component_map.ts @@ -51,7 +51,8 @@ export const forbiddenUseStateType: Set = new Set(['Scroller', 'SwiperSc 'VideoController', 'WebController', 'CustomDialogController', 'SwiperController', 'TabsController', 'CalendarController', 'AbilityController', 'XComponentController', 'CanvasRenderingContext2D', 'CanvasGradient', 'ImageBitmap', 'ImageData', 'Path2D', - 'RenderingContextSettings', 'OffscreenCanvasRenderingContext2D', 'PatternLockController' + 'RenderingContextSettings', 'OffscreenCanvasRenderingContext2D', 'PatternLockController', + 'Date', 'TextTimerController', 'SearchController', 'TextAreaController', 'TextInputController' ]); export const INNER_COMPONENT_NAMES: Set = new Set(); -- Gitee