<template>
</template>
<script setup>
import { onMounted } from 'vue'
onMounted(() => {
  const userAgent = navigator.userAgent.toLowerCase()
  const isMobile = /mobile|android|iphone|ipad|ipod/i.test(userAgent)
  if (isMobile) {
    window.location.href = '/h5'
  } else {
    window.location.href = '/pc'
  }
})
</script>