"@ray-js/ray": "1.4.45",
"@ray-js/panel-sdk": "1.10.0",
相关代码:
Code: Select all
<View onClick={(event) => {
event.stopPropagation();
}}
></View>
类型检查报错:类型“TouchEvent”上不存在属性“stopPropagation”。
"@ray-js/ray": "1.4.45",
"@ray-js/panel-sdk": "1.10.0",
相关代码:
Code: Select all
<View onClick={(event) => {
event.stopPropagation();
}}
></View>
类型检查报错:类型“TouchEvent”上不存在属性“stopPropagation”。
你好,使用 event.origin.stopPropagation()