feat(commission): 支持计奖商品参与设置、独立分成与多规格规则,完善团队中心与微信快捷登录
这个提交包含在:
@@ -6,13 +6,22 @@ import test from '@/sheep/helper/test.js';
|
||||
import $api from '@/sheep/api';
|
||||
|
||||
// 打开授权弹框
|
||||
export function showAuthModal(type = 'accountLogin') {
|
||||
export function showAuthModal(type = '') {
|
||||
const modal = $store('modal');
|
||||
let targetType = type;
|
||||
if (!targetType) {
|
||||
// #ifdef MP-WEIXIN
|
||||
targetType = 'mpMobileLogin';
|
||||
// #endif
|
||||
// #ifndef MP-WEIXIN
|
||||
targetType = 'accountLogin';
|
||||
// #endif
|
||||
}
|
||||
|
||||
// closeAuthModal();
|
||||
setTimeout(() => {
|
||||
modal.$patch((state) => {
|
||||
state.auth = type;
|
||||
state.auth = targetType;
|
||||
});
|
||||
}, 200);
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户