Commit c64e118a authored by 郝聪敏's avatar 郝聪敏

Merge branch 'feature/rm_debug' into 'master'

fix: 去掉wx debug

See merge request !204
parents 1b321f9d f13ccfa4
......@@ -27,7 +27,7 @@ export async function setShare({
});
const { appId, timestamp, nonceStr, signature } = res;
wx.config({
debug: true, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
appId, // 必填,公众号的唯一标识,填自己的!
timestamp, // 必填,生成签名的时间戳,刚才接口拿到的数据
nonceStr, // 必填,生成签名的随机串
......@@ -72,7 +72,7 @@ export function checkOpenId() {
const openId = localStorage.get("openId");
const _param = parseSearch(window.location.href);
const local = window.location.href;
console.log(!openId, isWeixinBrower, !_param.code, window.location.href);
// console.log(!openId, isWeixinBrower, !_param.code, window.location.href);
if (!openId && isWeixinBrower && !_param.code) {
var nextPage = document.createElement("a");
nextPage.setAttribute(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment