feat(dealer): 优化业务员申请和团队管理功能

-强制用户手动输入昵称,清空默认微信昵称
- 添加昵称验证逻辑,禁止使用默认昵称
- 优化团队数据加载和展示逻辑
- 添加保存二维码到相册功能
- 调整提现金额门槛为100元
This commit is contained in:
2025-09-12 13:09:41 +08:00
parent b2d79ab052
commit 86516a8334
8 changed files with 359 additions and 192 deletions

View File

@@ -193,6 +193,18 @@ const Header = (props: any) => {
useEffect(() => {
if (isLoggedIn && user) {
console.log('用户信息已更新:', user);
// 检查是否设置头像和昵称
if(user.nickname === '微信用户'){
Taro.showToast({
title: '请设置头像和昵称',
icon: 'none'
})
setTimeout(() => {
Taro.navigateTo({
url: '/user/profile/profile'
});
}, 2000)
}
}
}, [user, isLoggedIn])