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) {} } }