在需求实现中,有时会先拿到html 代码片段 但是还未build view就会出现Error message:Init error. The WebviewController must be associated with a Web component,,这时应如何选择loaddata时机
在需求实现中,有时会先拿到html 代码片段 但是还未build view就会出现Error message:Init error. The WebviewController must be associated with a Web component,,这时应如何选择loaddata时机
1 回答1.1k 阅读✓ 已解决
1 回答1.4k 阅读
1 回答1.2k 阅读
1 回答1.2k 阅读
1 回答1.2k 阅读
1 回答1k 阅读
1 回答1k 阅读
可以使用oncontrollerattached
https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/ts-basic-components-web-V5\#oncontrollerattached10