Commit 6812d96b by 张权

修改入口

1 parent bf36de35
...@@ -67,8 +67,8 @@ export default { ...@@ -67,8 +67,8 @@ export default {
desc: description || '', desc: description || '',
imgUrl: titleUrl || imgUrl imgUrl: titleUrl || imgUrl
} }
wxConfig.getContext().then((res) => {
// if (entry != 'normal'){ if (res.entry != 'normal'){
let pdfParam = { let pdfParam = {
msgtype: 'news', msgtype: 'news',
news: params, news: params,
...@@ -79,9 +79,10 @@ export default { ...@@ -79,9 +79,10 @@ export default {
}else{ }else{
this.getParam(i, { id, merchantId, uuid }) this.getParam(i, { id, merchantId, uuid })
} }
// }else{ }else{
// this.shareAppMessage(params, { id, merchantId, uuid }) this.shareAppMessage(params, { id, merchantId, uuid })
// } }
})
} }
}) })
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!