API组件名称:web-view
基础库版本号:2.28.1
问题:webview加载页面白屏后无法触发binderror事件
代码:
const handleLoad = (e: any) => {
alert(888)
console.log(e, 'webview load')
}
const handleError = (e: any) => {
console.log(e, 'webview error')
alert(999)
}
console.log(`${BASE_URL}${queryStr}`, 99999)
return (
<View>
<web-view src={`${BASE_URL}${queryStr}`} binderror={handleError} bindload={handleLoad} />
</View>
)
没人吗