mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-10 11:26:47 +08:00
我报名的老数据删除
This commit is contained in:
@@ -463,9 +463,9 @@
|
|||||||
if (this.delData.isOld) {
|
if (this.delData.isOld) {
|
||||||
apiBoeCourse.delLearning(this.delData.kid).then(res => {
|
apiBoeCourse.delLearning(this.delData.kid).then(res => {
|
||||||
if (res.status == 200) {
|
if (res.status == 200) {
|
||||||
this.$message({
|
this.$refs.articleToast.show({
|
||||||
type: 'success',
|
message: '删除成功',
|
||||||
message: '删除成功!'
|
type: 'success'
|
||||||
});
|
});
|
||||||
this.studyList.forEach((item, index) => {
|
this.studyList.forEach((item, index) => {
|
||||||
if (item.id === this.delData.id) {
|
if (item.id === this.delData.id) {
|
||||||
@@ -478,9 +478,9 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$message({
|
this.$refs.articleToast.show({
|
||||||
type: 'error',
|
message: '删除失败,请稍后再试',
|
||||||
message: res.message
|
type: 'error'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user