We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: https://docs.alipay.com/mini/component/web-view 问题:
<web-view src="{{url}}" onMessage="onmessage"></web-view>
Page({ data: { url: 'xxx' }, onLoad() { this.setData({ url: 'aaa' }) // 有效 }, onReady() { this.setData({ url: 'bbb' }) // 无效 } })
如上demo,组件 <web-view> 在 lifecycle 的 onReady 在更新 url 将无法控制 webview 的网页内容。
<web-view>
onReady
此问题是基于架构做的取舍,还是存在的一个可修复问题?后期是否会更改
The text was updated successfully, but these errors were encountered:
相关问题 kaola-fed/megalo#18
Sorry, something went wrong.
onReady中都也支持的。如果确定有问题,请帮我们提供下复现路径。
Page({ data: { url: '' }, onLoad() { }, onReady() { this.setData({ url: 'https://www.baidu.com' }) } })
这样写就没有效果的
No branches or pull requests
doc: https://docs.alipay.com/mini/component/web-view
问题:
如上demo,组件
<web-view>
在 lifecycle 的onReady
在更新 url 将无法控制 webview 的网页内容。此问题是基于架构做的取舍,还是存在的一个可修复问题?后期是否会更改
The text was updated successfully, but these errors were encountered: