diff --git a/src/views/form/index.vue b/src/views/form/index.vue index 4def0cb..7fa1d13 100644 --- a/src/views/form/index.vue +++ b/src/views/form/index.vue @@ -5,15 +5,15 @@ - + - + 预览 - + 保存为模板 diff --git a/src/views/form/write/index.vue b/src/views/form/write/index.vue index b4a7ce0..5cd435b 100644 --- a/src/views/form/write/index.vue +++ b/src/views/form/write/index.vue @@ -125,14 +125,13 @@ export default { getWxAuthorizationUserInfo() { let wxAuthorizationCode = this.wxAuthorizationCode // 根据code 获取用户授权信息 - this.$api.get('/authorization/user/info', { + this.$api.get('/wx/jsapi//authorization/user/info', { params: { code: wxAuthorizationCode } }).then(res => { if (res.data) { this.wxUserInfo = res.data - alert(res.data) } }) @@ -233,7 +232,6 @@ export default { if (res.data && res.data.wxWrite) { // 记录微信用户信息 if (res.data.recordWxUser && !this.wxAuthorizationCode) { - console.log(this.wxAuthorizationUrl) location.href = this.wxAuthorizationUrl } else { this.onlyWxOpenHandle()