|
@@ -24,12 +24,12 @@ export default {
|
|
|
async mounted(){
|
|
|
this.state.loading = true
|
|
|
const result = await asyncRequest.userinfo({code: getParameterByName('code')})
|
|
|
- console.log(result)
|
|
|
this.state.loading = false
|
|
|
|
|
|
switch(Number(result.code)){
|
|
|
case 0:
|
|
|
this.companyArr = result.data.companyArr || []
|
|
|
+ alert(JSON.stringify(result.data.companyArr))
|
|
|
break
|
|
|
default:
|
|
|
this.state.error = true
|