fix: delete video 错误

This commit is contained in:
caoqianming 2024-09-03 16:25:44 +08:00
parent 9f1286c8b6
commit b928df5e70
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) => {