feat(commission): 支持计奖商品参与设置、独立分成与多规格规则,完善团队中心与微信快捷登录
这个提交包含在:
@@ -80,6 +80,9 @@ const user = defineStore({
|
||||
if (!Array.isArray(merged.identities)) {
|
||||
merged.identities = [];
|
||||
}
|
||||
if (merged.mobile) {
|
||||
merged.verification = { ...(merged.verification || {}), mobile: 1 };
|
||||
}
|
||||
this.userInfo = merged;
|
||||
|
||||
return Promise.resolve(merged);
|
||||
@@ -151,7 +154,7 @@ const user = defineStore({
|
||||
// 登录后设置全局分享参数
|
||||
$share.getShareInfo();
|
||||
// 提醒绑定手机号
|
||||
if (app().platform.bind_mobile && !this.userInfo.verification?.mobile) {
|
||||
if (app().platform.bind_mobile && !this.userInfo?.mobile && !this.userInfo?.verification?.mobile) {
|
||||
showAuthModal('changeMobile');
|
||||
}
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户