Commit ab7344d1 by zhangquan

bug修复

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