Merge branch 'develop' of https://gitee.com/likeadmin/likeadmin_java into develop
This commit is contained in:
commit
8b450e991f
|
|
@ -10,7 +10,11 @@
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<script>
|
<script>
|
||||||
window.location.href = '/mobile'
|
var isMobile = function () {
|
||||||
|
var u = navigator.userAgent
|
||||||
|
return /Mobile|Android|webOS|iPhone|iPad|Phone/i.test(u)
|
||||||
|
}
|
||||||
|
window.location.href = isMobile() ? '/mobile' : '/pc'
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue