From 036a775272bc6cf060b92efba7d488eab3ceb60b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E6=88=90=E5=BC=BA?= Date: Fri, 6 Nov 2020 18:00:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index 11c854b..e32b931 100644 --- a/src/App.vue +++ b/src/App.vue @@ -15,7 +15,9 @@ export default { active: true, fullPage: true, dingCode: '', - dataForm: {} + dataForm: { + verify: '' + } } }, components: { @@ -59,7 +61,7 @@ export default { // 钉钉免登录 async handleDingtalkLogin (val = this.dingCode) { const res = await apiDingtalkLogin(val) - console.log('res: ', res) + console.log('钉钉免登录res: ', res) if (res && res.code === 200) { this.$cookies.set('token', res.token) await this.handleInfo() @@ -74,6 +76,7 @@ export default { // 获取用户信息 async handleInfo () { let res = await apiUserInfo() + console.log('获取用户信息res: ', res) if (res.code === 200) { this.SET_USER_INFO(res.user) }