Commit ab7344d1 by zhangquan

bug修复

1 parent 950987ff
......@@ -65,9 +65,9 @@ Page({
errId
}) => {
if (code == '0' || errId=='30990103'){
let {loginUserInfoList} = data
let target = null
if(code == '0' && loginUserInfoList?.length){
if(code == '0' && data.loginUserInfoList?.length){
let {loginUserInfoList} = data
target = loginUserInfoList.find(item => item.merchantId== this.data.linkParams.merchantId)
}
if(target){
......@@ -98,7 +98,7 @@ Page({
}).catch(({
errMsg
}) => {
wx.$api.showToast(message || '系统异常')
wx.$api.showToast('系统异常')
})
},
register(params){
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!