Commit 4a493179 authored by 郭志伟's avatar 郭志伟

Merge branch 'fix/goods' into 'master'

fix: 分享验证

See merge request !187
parents 61c18dfd fc9174ab
......@@ -2,7 +2,7 @@
* @Description: weixin-js-sdk
* @LastEditors: gzw
* @Date: 20120-08-30 18:40:11
* @LastEditTime: 2020-09-01 18:36:05
* @LastEditTime: 2020-09-01 18:51:52
*/
import cfg from "@/config/index";
import { getwxAuth } from "@/api/user";
......@@ -70,7 +70,7 @@ export async function setShare({
export function checkOpenId() {
const openId = localStorage.get("openId");
const local = window.location.href;
alert(!openId && isWeixinBrower);
console.log(openId, isWeixinBrower);
if (!openId && isWeixinBrower) {
alert("无openid");
var nextPage = document.createElement("a");
......
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