我报名的老数据删除

This commit is contained in:
zhaofang
2022-06-02 17:33:39 +08:00
parent e577d7a313
commit dc17320d1a

View File

@@ -463,9 +463,9 @@
if (this.delData.isOld) {
apiBoeCourse.delLearning(this.delData.kid).then(res => {
if (res.status == 200) {
this.$message({
type: 'success',
message: '删除成功!'
this.$refs.articleToast.show({
message: '删除成功',
type: 'success'
});
this.studyList.forEach((item, index) => {
if (item.id === this.delData.id) {
@@ -478,9 +478,9 @@
}
})
} else {
this.$message({
type: 'error',
message: res.message
this.$refs.articleToast.show({
message: '删除失败,请稍后再试',
type: 'error'
});
}
});