mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-18 07:16:44 +08:00
去掉删除课程的事件,转为后端去处理了
This commit is contained in:
@@ -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",//被管理员删除
|
||||
|
||||
Reference in New Issue
Block a user