feat(commission): 支持计奖商品参与设置、独立分成与多规格规则,完善团队中心与微信快捷登录

这个提交包含在:
chen
2026-09-17 19:27:17 +08:00
父节点 3c7df9688b
当前提交 829e88cfa9
共有 54 个文件被更改,包括 3536 次插入 和 666 次删除

查看文件

@@ -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);