|
@@ -1123,7 +1123,10 @@ const handlePortalAppClick = async (app: PortalApp) => {
|
|
|
(ua.includes("Windows") || ua.includes("Macintosh"));
|
|
(ua.includes("Windows") || ua.includes("Macintosh"));
|
|
|
|
|
|
|
|
let ua2 = navigator.userAgent.toLowerCase();
|
|
let ua2 = navigator.userAgent.toLowerCase();
|
|
|
- var isMobile = ua2.indexOf("dingtalk") > -1;
|
|
|
|
|
|
|
+ let isMobile = ua2.indexOf("dingtalk") > -1;
|
|
|
|
|
+
|
|
|
|
|
+ alert(`isMobile: ${isMobile}>>>>>>>>>>>>isDesktop: ${isDesktop}`);
|
|
|
|
|
+ // alert(`isDesktop: ${isDesktop}`);
|
|
|
const res = await srmLogin({
|
|
const res = await srmLogin({
|
|
|
username: userStore.getUser.username,
|
|
username: userStore.getUser.username,
|
|
|
});
|
|
});
|