儀表板
文件庫
filestore
活動
搜尋
登入
pcalife
/
PAM
保誠-保戶業務員媒合平台
匯總
相關日誌
提交
目錄
檔案區
分支(forks)
比對
究查
|
歷程
|
原始
fixed TODO#133096 推薦顧問按鈕icon樣式更新
Mila
2022-01-05
50ed581635a4eb5dd8fa93cc796b298d7bc0ac7e
[pcalife/PAM.git]
/
PAMapp
/
shared
/
services
/
utils.service.ts
1
2
3
4
5
6
7
8
9
10
class UtilsService {
isMobileDevice(): boolean {
const mobileDevices = ['Android', 'webOS', 'iPhone', 'iPad', 'iPod', 'BlackBerry', 'Windows Phone'];
return mobileDevices.some(e => navigator.userAgent.match(e));
}
}
export default new UtilsService();