From 06f1f126559e1d475e1345768436921fabc9147a Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Thu, 21 Jul 2022 11:30:51 +0800 Subject: [PATCH] docs(web-view): fix wrong sample --- docs/component/web-view.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/component/web-view.md b/docs/component/web-view.md index 046915e8c..039e5e276 100644 --- a/docs/component/web-view.md +++ b/docs/component/web-view.md @@ -80,8 +80,8 @@
-┌─components
-├─hybrid
+┌─components
+├─hybrid
│ └─html
│ ├─css
│ │ └─test.css
@@ -90,14 +90,14 @@
│ ├─js
│ │ └─test.js
│ └─local.html
-├─pages
+├─pages
│ └─index
-│ └─index.vue
-├─static
-├─main.js
-├─App.vue
-├─manifest.json
-└─pages.json
+│ └─index.vue
+├─static
+├─main.js
+├─App.vue
+├─manifest.json
+└─pages.json
@@ -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})
--
GitLab