提交 4057456c 编写于 作者: X xiaoyucoding

docs: 补充 web-view 的 readme

上级 c46ecf9d
# web-view
|属性|完成度|
|:-|:-|
|src|√|
|@message|-|
|方法|完成度|
|:-|:-|
|navigateTo|√|
|redirectTo|√|
|reLaunch|√|
|switchTab|√|
|navigateBack|√|
|getEnv|√|
|postMessage|-|
<template>
<uni-web-view>
<iframe
:src="realSrc"
:src="realPath"
frameborder="0"
width="100%"
height="100%"/>
height="100%" />
</uni-web-view>
</template>
<script>
......@@ -17,9 +17,9 @@ export default {
}
},
data () {
return {
realSrc: this.$getRealPath(this.src)
}
return {
realPath: this.$getRealPath(this.src)
}
}
}
</script>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册