讲师管理bug

This commit is contained in:
zhangsir
2024-12-12 21:48:02 +08:00
parent f5246726ee
commit 6ded08e300
5 changed files with 106 additions and 51 deletions

View File

@@ -3958,13 +3958,18 @@ function onFocusEnd(){
// }
state.addLoading = true;
editPlan(postData)
.then(() => {
getTableDate3();
handleCancelStu();
rest();
.then((res) => {
if(res.data.code == 200){
getTableDate3();
handleCancelStu();
rest();
}else{
message.error(res.data.msg)
}
state.addLoading = false;
})
.catch((err) => {
message.error(err.data.msg)
state.loading = false;
console.log(err);
});