Commit a35aa88b by 杨北旺

修改bug

1 parent 16a35b54
...@@ -85,7 +85,7 @@ Page({ ...@@ -85,7 +85,7 @@ Page({
merchantName: userStorage.merchantName, merchantName: userStorage.merchantName,
phone: userStorage.phone, phone: userStorage.phone,
} }
const { id, staffPhone, phone, department, weChatNickName, weChatAvatarUrl, weChatOpenId, staffName,merchantFileResponse } = data const { id, staffPhone, phone, department, weChatNickName, weChatAvatarUrl,weChatPhone, weChatOpenId, staffName,merchantFileResponse } = data
let avatar = '' let avatar = ''
if(merchantFileResponse){ if(merchantFileResponse){
avatar = merchantFileResponse.fileUrl avatar = merchantFileResponse.fileUrl
...@@ -94,7 +94,7 @@ Page({ ...@@ -94,7 +94,7 @@ Page({
headImgUrl: avatar || weChatAvatarUrl, headImgUrl: avatar || weChatAvatarUrl,
nickName: staffName, nickName: staffName,
seriseName: DEPARTMENTLIST[department - 1], seriseName: DEPARTMENTLIST[department - 1],
brandName: weChatNickName || phone || staffPhone, brandName: weChatNickName || weChatPhone || staffPhone,
bindStatus: weChatOpenId ? 1 : 0, bindStatus: weChatOpenId ? 1 : 0,
bussinessId: id, bussinessId: id,
...storage ...storage
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!