From 1e3097ed51ffac16d5c6c419467f4ff89fccdb19 Mon Sep 17 00:00:00 2001 From: zhaoxiaoqiang <287285524@qq.com> Date: Mon, 28 Nov 2022 10:25:35 +0800 Subject: [PATCH] 查看是否支持 --- src/views/homeIndex/home-index.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/homeIndex/home-index.vue b/src/views/homeIndex/home-index.vue index 60922b6..2f5c5c7 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-18 08:54:17 + * @LastEditTime: 2022-11-28 10:25:20 * @Description: --> <template> @@ -52,7 +52,9 @@ // 判断微信接口是否支持 wx.checkJsApi({ jsApiList: ["checkJsApi", "scanQRCode"], // 需要检测的JS接口列表 - success: function(res) {} + success: function(res) { + console.log(res) + } }); }, -- Gitblit v1.8.0