From 9772e4b48ad4c18a480780643cf253a44bdc9b6e Mon Sep 17 00:00:00 2001 From: weifashi <605403358@qq.com> Date: Mon, 20 Nov 2023 09:26:10 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E9=A1=B9=E7=9B=AE=E9=82=80=E8=AF=B7?= =?UTF-8?q?=E9=A1=B5=20-=20=E5=AE=89=E5=8D=93=E7=94=A8opne=E6=96=B9?= =?UTF-8?q?=E5=BC=8F=E6=89=93=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/assets/js/pages/manage/projectInvite.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/assets/js/pages/manage/projectInvite.vue b/resources/assets/js/pages/manage/projectInvite.vue index de60a8473..fa4e8c366 100644 --- a/resources/assets/js/pages/manage/projectInvite.vue +++ b/resources/assets/js/pages/manage/projectInvite.vue @@ -68,7 +68,11 @@ export default { if (!$A.Electron && !$A.isEEUiApp && navigator.userAgent.indexOf("MicroMessenger") === -1){ if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) { try { - window.location.href = "dootask://" + route.fullPath + if(/Android/i.test(navigator.userAgent)){ + window.open("dootask://" + route.fullPath) + }else{ + window.location.href = "dootask://" + route.fullPath + } } catch (error) {} } }