|
@@ -4,28 +4,6 @@
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
import { onMounted, ref } from 'vue'
|
|
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>
|
|
</script>
|
|
|
|
|