From 3d3c957988a77c7468585a1f6030f512b356ce69 Mon Sep 17 00:00:00 2001
From: wangqing <250543222@qq.com>
Date: Fri, 16 Jul 2021 22:17:16 +0800
Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E5=8D=95=E7=BC=96=E8=BE=91=E5=99=A8?=
=?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4=20=E8=8E=B7=E5=8F=96?=
=?UTF-8?q?=E5=BE=AE=E4=BF=A1=E7=94=A8=E6=88=B7=E4=BF=A1=E6=81=AF=E9=94=99?=
=?UTF-8?q?=E8=AF=AF=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/form/index.vue | 6 +++---
src/views/form/write/index.vue | 4 +---
2 files changed, 4 insertions(+), 6 deletions(-)
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()