mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-09 10:56:47 +08:00
我报名的老数据删除
This commit is contained in:
@@ -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'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user