|
@@ -24,6 +24,7 @@ export default {
|
|
async mounted(){
|
|
async mounted(){
|
|
this.state.loading = true
|
|
this.state.loading = true
|
|
const result = await asyncRequest.userinfo({code: getParameterByName('code')})
|
|
const result = await asyncRequest.userinfo({code: getParameterByName('code')})
|
|
|
|
+ console.log(result)
|
|
this.state.loading = false
|
|
this.state.loading = false
|
|
|
|
|
|
switch(Number(result.code)){
|
|
switch(Number(result.code)){
|