<template>
  <div>123</div>
</template>

<script>
import { getQueryObject } from '@/utils'
import { setStorage } from '@/utils/storage'
export default {
  created() {
    const urlQuery = getQueryObject()
    urlQuery.state = urlQuery.state.slice(0, urlQuery.state.indexOf('#'))
    setStorage('zp_douyin_code', urlQuery.code)
    window.location.href = window.location.origin
  }
}
</script>
