提交 06f1f126 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

docs(web-view): fix wrong sample

上级 bdb94e52
......@@ -348,7 +348,7 @@ export default {
export default {
onReady() {
// #ifdef APP-PLUS
var currentWebview = this.$scope.page.$getAppWebview() //获取当前页面的webview对象
var currentWebview = this.$scope.$getAppWebview() //获取当前页面的webview对象
setTimeout(function() {
wv = currentWebview.children()[0]
wv.setStyle({scalable:true})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册