<template>
<view>
<web-view :webview-styles="webviewStyles" :fullscreen="true" src="https://m.wqzcir.com/ipoyqyb"></web-view>
</view>
</template>
- 发布:2023-01-06 11:26
- 更新:2023-01-06 11:33
- 阅读:113
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: win11
HBuilderX类型: 正式
HBuilderX版本号: 3.6.5
手机系统: Android
手机系统版本号: Android 7.1.1
手机厂商: 模拟器
手机机型: oppo
页面类型: vue
vue版本: vue3
打包方式: 云端
项目创建方式: HBuilderX
示例代码:
操作步骤:
<template>
<view>
<web-view :webview-styles="webviewStyles" :fullscreen="true" src="https://m.wqzcir.com/ipoyqyb"></web-view>
</view>
</template>
<template>
<view>
<web-view :webview-styles="webviewStyles" :fullscreen="true" src="https://m.wqzcir.com/ipoyqyb"></web-view>
</view>
</template>
预期结果:
正常访问
正常访问
实际结果:
无法访问
无法访问
bug描述:
使用 web-view 什么网站都访问不了 (误报,正常了)
代码:
<template>
<view>
<web-view :webview-styles="webviewStyles" :fullscreen="true" src="https://m.wqzcir.com/ipoyqyb"></web-view>
</view>
</template>