修改设备判断逻辑
parent
209ad702ef
commit
4bf9a58fff
|
|
@ -22,8 +22,7 @@ function platCheck() {
|
||||||
if (!isMobileDevice) {
|
if (!isMobileDevice) {
|
||||||
let _href = window.location.href;
|
let _href = window.location.href;
|
||||||
let _origin = window.location.origin;
|
let _origin = window.location.origin;
|
||||||
_href.replace(_origin, import.meta.env.VITE_PC_HOST)
|
window.location.href = _href.replace(_origin, import.meta.env.VITE_PC_HOST);
|
||||||
window.location.href = _href;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
platCheck();
|
platCheck();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue