<template>
</template>
<script setup>
import { onMounted } from 'vue'
onMounted(() => {
  const isMobile = navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/)
  if (isMobile) {
    window.location.href = '/h5'
  } else {
    window.location.href = '/pc'
  }
})
</script>