uniapp开发H5套壳APP谷歌账号登录报错403
- 互联网
- 2025-08-30 12:15:02

解决办法:替换user-agent中的‘; wv’为空字符
<template> <view> <web-view :webview-styles="webviewStyles" :src="href"></web-view> </view> </template> <script> export default { data() { return { webviewStyles: {}, href: " xxx.top", } }, onLoad() { this.getWebview() }, methods: { getWebview() { // #ifdef APP-PLUS plus.navigator.setUserAgent(plus.navigator.getUserAgent().replace("; wv", "")) // #endif } } } </script> <style> .webviewStyles { height: 100vh !important; } iframe { height: 100% !important; } </style>uniapp开发H5套壳APP谷歌账号登录报错403由讯客互联互联网栏目发布,感谢您对讯客互联的认可,以及对我们原创作品以及文章的青睐,非常欢迎各位朋友分享到个人网站或者朋友圈,但转载请说明文章出处“uniapp开发H5套壳APP谷歌账号登录报错403”
下一篇
eNSP防火墙综合实验