mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
--fix bug
This commit is contained in:
@@ -582,13 +582,8 @@ function bathDel() {
|
||||
message.destroy();
|
||||
return message.warning("请先选中学员");
|
||||
}
|
||||
stuSelectKeys.value &&
|
||||
stuSelectKeys.value.length &&
|
||||
delStudentList({
|
||||
ids: stuSelectKeys.value,
|
||||
}).then(() => {
|
||||
getStuList();
|
||||
});
|
||||
tableData.value.loading = true;
|
||||
delStudentList({ids: stuSelectKeys.value,}).then(() => getStuList());
|
||||
}
|
||||
|
||||
function del(id) {
|
||||
@@ -600,7 +595,10 @@ function del(id) {
|
||||
okType: "danger",
|
||||
cancelText: () => "取消",
|
||||
onOk() {
|
||||
id && delStudentList({ ids: [id] }).then(() => getStuList());
|
||||
if(id){
|
||||
tableData.value.loading = true;
|
||||
delStudentList({ ids: [id] }).then(() => getStuList());
|
||||
}
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user