提交 611d0256 编写于 作者: H hdx

web-view-local: 减少一层 view

上级 fed1769e
<template> <template>
<view class="uni-flex-item"> <web-view ref="web-view" class="web-view" src="/hybrid/html/local.html" @message="message" @error="error"
<web-view ref="web-view" class="uni-flex-item" src="/hybrid/html/local.html" @message="message" @error="error" @loading="loading" @loaded="loaded">
@loading="loading" @loaded="loaded"> </web-view>
</web-view>
</view>
</template> </template>
<script> <script>
...@@ -38,5 +36,7 @@ ...@@ -38,5 +36,7 @@
</script> </script>
<style> <style>
.web-view {
flex: 1;
}
</style> </style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册