mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-06-23 18:42:52 +08:00
Merge branch 'develop' of https://gitee.com/likeadmin/likeadmin_java into develop
This commit is contained in:
@@ -10,7 +10,11 @@
|
||||
|
||||
<body>
|
||||
<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>
|
||||
</body>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user