修复了诸多问题
This commit is contained in:
@@ -73,12 +73,12 @@ Page({
|
||||
contactDashou(e) {
|
||||
const item = e.currentTarget.dataset.item;
|
||||
if (!item || !item.shenqingren_id) {
|
||||
wx.showToast({ title: '无法获取打手ID', icon: 'none' });
|
||||
wx.showToast({ title: '无法获取接单员ID', icon: 'none' });
|
||||
return;
|
||||
}
|
||||
openPrivateChat(this, {
|
||||
toUserId: buildDashouPeerId(item.shenqingren_id),
|
||||
toName: '打手' + item.shenqingren_id,
|
||||
toName: '接单员' + item.shenqingren_id,
|
||||
toAvatar: resolveAvatarUrl(item.shenqingren_avatar),
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user