12345678910111213141516171819202122232425262728293031323334 |
- <template>
- <div>1111</div>
- </template>
- <script setup>
- import { onMounted, ref } from 'vue'
- import { useAppStore } from '~src/store'
- import { useRoute, useRouter } from 'vue-router'
- import { getObjVal } from 'js-fast-way'
- import { loginByToken } from '~api/user'
- //初始变量
- const router = useRouter()
- const useRoutes = useRoute()
- const useAppState = useAppStore()
- //先清理下缓存
- useAppState.clearStoreData()
- //变量
- const loading = ref(true)
- const isErrorShow = ref(false)
- //渲染完成
- onMounted(() => {
- const { token, account, timestamp, timeInterval, moduleCode } = useRoutes?.query
- })
- </script>
- <style lang="scss" scoped>
- </style>
|