From b5696096ae9d287310d1656e3a28e6133aa49d0e Mon Sep 17 00:00:00 2001 From: zhaoxiaoqiang <287285524@qq.com> Date: Thu, 04 Aug 2022 14:14:33 +0800 Subject: [PATCH] 微信code --- src/views/homeIndex/home-index.vue | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/homeIndex/home-index.vue b/src/views/homeIndex/home-index.vue index 6661b1d..0b45f9b 100644 --- a/src/views/homeIndex/home-index.vue +++ b/src/views/homeIndex/home-index.vue @@ -2,7 +2,7 @@ * @Author: 小明丶 * @Date: 2020-05-20 20:29:47 * @LastEditors: zxq - * @LastEditTime: 2022-08-04 09:52:23 + * @LastEditTime: 2022-08-04 14:14:14 * @Description: --> <template> @@ -48,8 +48,7 @@ }; }, created() { - console.log(window) - // this.getWXToken(); + this.getWXToken(); // 判断微信接口是否支持 wx.checkJsApi({ jsApiList: ["checkJsApi", "scanQRCode"], // 需要检测的JS接口列表 -- Gitblit v1.8.0