From e7126286d2c5a17389843625ffa59c8ad382cbf6 Mon Sep 17 00:00:00 2001 From: qiang Date: Mon, 19 Oct 2020 20:36:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(App):=20=E8=A7=A3=E5=86=B3=20iOS=20?= =?UTF-8?q?=E7=AB=AF=20web-view=20=E7=BB=84=E4=BB=B6=20title=20=E4=B8=BA?= =?UTF-8?q?=E7=A9=BA=E6=97=B6=EF=BC=8C=E8=BF=94=E5=9B=9E=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E9=9A=90=E8=97=8F=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/platforms/app-plus/view/components/web-view/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/platforms/app-plus/view/components/web-view/index.vue b/src/platforms/app-plus/view/components/web-view/index.vue index 5ec461d286..b410fe9a08 100644 --- a/src/platforms/app-plus/view/components/web-view/index.vue +++ b/src/platforms/app-plus/view/components/web-view/index.vue @@ -34,7 +34,8 @@ const insertHTMLWebView = ({ const title = webview.getTitle() parentWebview.setStyle({ titleNView: { - titleText: (!title || title === 'null') ? '' : title + // iOS titleText 为空字符串时 按钮会隐藏 + titleText: (!title || title === 'null') ? ' ' : title } }) }) -- GitLab