|
|
@@ -66,12 +66,14 @@ export default {
|
|
|
// console.log('this.$route.params',this.$route.params,this.$route.params.openId)
|
|
|
// this.search.createdBy=this.$route.params.openId
|
|
|
// this.getList()
|
|
|
+ console.log('mounted')
|
|
|
this.getInitCode()
|
|
|
},
|
|
|
methods: {
|
|
|
async getInitCode() {
|
|
|
+ console.log('获取code')
|
|
|
getInitialCode().then((res) => {
|
|
|
- // alert('getInitialCode==>' + JSON.stringify(res))
|
|
|
+ console.log('getInitialCode==>' + JSON.stringify(res))
|
|
|
this.initCode = res.data.initCode
|
|
|
// alert('initCode==>' + this.initCode)
|
|
|
this.handleAuthorization()
|