Commit 7607ab7e by xinla

标除过时抓取素材功能等

1 parent 1a352923
<script> <script>
import { wxQrLogin } from '@/api/login' import { wxQrLogin } from '@/api/login'
import { getQueryValue } from '@/utils/index' import { getQueryValue } from '@/utils/index'
import { setToken } from '@/utils/auth' import { setToken } from '@/utils/auth'
export default { export default {
components: {}, components: {},
props: {}, props: {},
data() { data() {
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
async beforeCreate() { async beforeCreate() {
// http://106.13.201.219/?auth_code=xxx#/authWehatCallback // http://106.13.201.219/?auth_code=xxx#/authWehatCallback
// console.log('routerbeforeCreate', this.$route); // console.log('routerbeforeCreate', this.$route);
document.getElementById('loader-wrapper').classList.remove('loaded')
let auth_code = getQueryValue('code') let auth_code = getQueryValue('code')
try { try {
let { data } = await wxQrLogin(auth_code) let { data } = await wxQrLogin(auth_code)
...@@ -26,8 +27,8 @@ ...@@ -26,8 +27,8 @@
} }
}, },
mounted() {}, mounted() {},
methods: {} methods: {},
} }
</script> </script>
<template> <template>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!