From 4e73b8c5ca7d888483271a7cbc0ba92fddd1a223 Mon Sep 17 00:00:00 2001 From: Deboy <55631825@qq.com> Date: Wed, 8 Jul 2020 10:28:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=8F=98=E9=87=8F?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E9=94=99=E8=AF=AF=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue-wechat-title.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vue-wechat-title.js b/vue-wechat-title.js index 6abb64f..9488164 100644 --- a/vue-wechat-title.js +++ b/vue-wechat-title.js @@ -11,7 +11,7 @@ iframe.style.display = 'none' // 替换成站标favicon路径或者任意存在的较小的图片即可,支付宝小程序引用默认空白的base64图片会有安全警告 var _img = /alipay/.test(mobile) ? img : (img || 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7'); - img && iframe.setAttribute('src', _img) + _img && iframe.setAttribute('src', _img) var iframeCallback = function () { setTimeout(function () { iframe.removeEventListener('load', iframeCallback)