From 08a29feafa2966f9bc8cc4f20217ca48dec99292 Mon Sep 17 00:00:00 2001 From: wangchun17 Date: Wed, 27 Oct 2021 15:08:35 +0800 Subject: [PATCH] chunn.wang@huawei.com Signed-off-by: wangchun17 Change-Id: Ib6b5eb86937a66ebe482c52b49e32443bea3da57 --- ace-loader/plugin/templater/component_validator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ace-loader/plugin/templater/component_validator.js b/ace-loader/plugin/templater/component_validator.js index e8d920b..92928c0 100644 --- a/ace-loader/plugin/templater/component_validator.js +++ b/ace-loader/plugin/templater/component_validator.js @@ -1036,7 +1036,7 @@ const EVENT_END_REGEXP = /(\.bubble|\.capture)$/; const START_CATCH_REGEXP = /^(grab:)/; const END_CAPTURE_REGEXP = /(\.capture)$/; const TOUCH_EVENT_REGEXP = /^(touch)/; -const CLICK_EVENT_REGEXP = /click/; +const CLICK_EVENT_REGEXP = /^(click)$/; const TOUCH_CAPTURE_EVENT_REGEXP = /^(?!touch).*?(\.capture)$/; /** -- Gitee