mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-13 12:02:51 +00:00
perf: 项目邀请页 - 安卓用opne方式打开
This commit is contained in:
parent
08cc4a4815
commit
9772e4b48a
@ -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) {}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user