Commit c7832ab4 authored by 罗林杰's avatar 罗林杰

Merge remote-tracking branch 'origin/master'

parents 25dcf8ac 1506eed7
...@@ -177,9 +177,20 @@ ...@@ -177,9 +177,20 @@
}, },
//查看会员详情 //查看会员详情
gotoUserDetail(item){ gotoUserDetail(item){
uni.navigateTo({ //没登录 不能查看会员详情
url: '/pagesUser/userInfo?memberId='+item.businessId const token = uni.getStorageSync('token')
}) if (token == null || token == '' || token == undefined){
//没登录 提示请先登录
uni.showToast({
title: '请先登录',
icon: 'none',
duration: 1000
})
} else {
uni.navigateTo({
url: '/pagesUser/userInfo?memberId='+item.businessId
})
}
}, },
}, },
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment