mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 19:36:46 +08:00
随机小组,确认完成 关闭抽屉后清空页面数据;
This commit is contained in:
@@ -143,6 +143,7 @@ export default {
|
||||
};
|
||||
//添加小组
|
||||
const addGroup = () => {
|
||||
state.loading = true
|
||||
console.log("state.groupNum2", state.groupNum2);
|
||||
let obj = {
|
||||
pid: props.projectId,
|
||||
@@ -156,6 +157,11 @@ export default {
|
||||
message.success("小组添加成功");
|
||||
props.getGroup && props.getGroup();
|
||||
}
|
||||
// 清空数据
|
||||
state.groupNum = null;
|
||||
state.peopleNum = null;
|
||||
state.groupNum2 = [];
|
||||
state.loading = false
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log("随机分组失败", err);
|
||||
|
||||
Reference in New Issue
Block a user