提交 9b312992 authored 作者: pengxiaohui's avatar pengxiaohui

测试openId

上级 173a14e8
......@@ -97,6 +97,7 @@ export default {
this.fetchGoodsDetails()
this.fetchShopDetails()
let openId = window.localStorage.getItem('openId')
console.log(openId)
if (openId === 'undefined' || openId === 'null') openId = ''
this.openId = openId // 'oF3a-t9pFpmL2gWuTmtWs5HlDGkU'
if (this.isWxBrowser && !this.openId) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论