From fa1c89eb17dd9db24251f968ab1c78631fb59450 Mon Sep 17 00:00:00 2001 From: XHY Date: Wed, 14 Aug 2024 19:55:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20richt-text=20=E7=A4=BA?= =?UTF-8?q?=E4=BE=8B=EF=BC=8C=E6=B7=BB=E5=8A=A0=20click=20=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 44e43bb860c67c7919650fae037c7978b9791af4) --- pages/component/rich-text/rich-text-complex.uvue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/component/rich-text/rich-text-complex.uvue b/pages/component/rich-text/rich-text-complex.uvue index ced83e26..6e5b1c10 100644 --- a/pages/component/rich-text/rich-text-complex.uvue +++ b/pages/component/rich-text/rich-text-complex.uvue @@ -4,8 +4,8 @@ - - + + @@ -33,6 +33,10 @@ content:clicktext, showCancel:false }); + }, + testClick(e:string) { + // 测试点击rich-text是否正常触发自身及父节点 click 事件 + console.log(e) } } } -- GitLab