This commit is contained in:
Li xia 2024-09-03 16:47:37 +08:00
commit 34dea64d3d
1 changed files with 2 additions and 2 deletions

View File

@ -375,8 +375,8 @@ export default {
type: "error", type: "error",
}) })
.then(async () => { .then(async () => {
await deleteCourse(scope.row.id); await deleteVideo(scope.row.id);
this.getCourseList(); this.getVideoList();
this.$message.success("成功删除"); this.$message.success("成功删除");
}) })
.catch((err) => { .catch((err) => {