提交 3c652aef 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

test: 移除 webview 加载进度条

上级 75552bdb
<template> <template>
<web-view id="webview-screenshot" class="webview-screenshot" :src="src" @loaded="loaded" @error="error"> <web-view id="webview-screenshot" class="webview-screenshot" :webview-styles='webviewStyles' :src="src"
@loaded="loaded" @error="error">
</web-view> </web-view>
<text style="display: none"></text>
</template> </template>
<script> <script>
...@@ -13,6 +13,9 @@ ...@@ -13,6 +13,9 @@
webviewContext: null as WebviewContext | null, webviewContext: null as WebviewContext | null,
isLoaded: false, isLoaded: false,
needRemoveWebHead: false, needRemoveWebHead: false,
webviewStyles: {
progress: false
}
} }
}, },
onReady() { onReady() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册