Commit 6812d96b by 张权

修改入口

1 parent bf36de35
......@@ -67,21 +67,22 @@ export default {
desc: description || '',
imgUrl: titleUrl || imgUrl
}
// if (entry != 'normal'){
let pdfParam = {
msgtype: 'news',
news: params,
enterChat: false
}
if(i.materialType==1){
this.sendChatMessage(pdfParam, { id, merchantId, uuid })
wxConfig.getContext().then((res) => {
if (res.entry != 'normal'){
let pdfParam = {
msgtype: 'news',
news: params,
enterChat: false
}
if(i.materialType==1){
this.sendChatMessage(pdfParam, { id, merchantId, uuid })
}else{
this.getParam(i, { id, merchantId, uuid })
}
}else{
this.getParam(i, { id, merchantId, uuid })
}
// }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!