onInterceptRequest方法可以在Web组件加载url之前触发该回调拦截,用法如下:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/ts-basic-components-web-V5\#oninterceptrequest9web组件用法:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-webview-V5web组件与js交互,参考:https://developer.huawei.com/consumer/cn/doc/harmonyos-faqs-V5/faqs-arkweb-kit-V5
onInterceptRequest方法可以在Web组件加载url之前触发该回调拦截,用法如下:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/ts-basic-components-web-V5\#oninterceptrequest9
web组件用法:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-webview-V5
web组件与js交互,参考:https://developer.huawei.com/consumer/cn/doc/harmonyos-faqs-V5/faqs-arkweb-kit-V5