去掉删除课程的事件,转为后端去处理了

This commit is contained in:
daihh
2022-11-29 13:39:28 +08:00
parent 8db7130faa
commit c1be147270
2 changed files with 18 additions and 18 deletions

View File

@@ -286,7 +286,7 @@ export default {
const { status } = await apiCourse.del(params);
if (status === 200) {
this.$message.success('操作成功!');
//发送自己删除课程的事件,审核通过的,自己不能删除了
//事件移到后端处理
// if(!row.erasable){
// let event = {
// key: "DeleteCourse",//被管理员删除