问题描述:
设置成企业微信客服,在聊天窗口中打开商品链接页显示异常。
解决方法:
pages/goods_details/index.vue,找到这个文件,修改goGoodCall()方法。
goGoodCall() {
let userInfo = {}
if(typeof this.userInfo === 'string'){
userInfo = JSON.parse(this.userInfo)
}else{
userInfo = this.userInfo
}
let url = `/pages/extension/customer_list/chat?productId=${this.id}`
let obj = {
store_name: this.storeInfo.store_name,
path: `/pages/goods_details/index.html?id=${this.storeInfo.id}`,
image:this.storeInfo.image
}
this.$util.getCustomer(userInfo,url,obj,1)
},
修改完成需要重新打包,打包文档: https://doc.crmeb.com/pro/crmebprov3_1/15815