课程保存分系统、自主
This commit is contained in:
parent
45acb0a8ce
commit
50baf8b2aa
|
@ -121,6 +121,7 @@ export default {
|
||||||
coverPath: '',
|
coverPath: '',
|
||||||
tags: [],
|
tags: [],
|
||||||
courseTags: [],
|
courseTags: [],
|
||||||
|
type: this.$route.query.type,
|
||||||
// fileList: [] // 上传附件
|
// fileList: [] // 上传附件
|
||||||
},
|
},
|
||||||
url: '',
|
url: '',
|
||||||
|
@ -161,7 +162,7 @@ export default {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
this.$message.info('保存成功')
|
this.$message.info('保存成功')
|
||||||
//新增完成后直接返回课程列表
|
//新增完成后直接返回课程列表
|
||||||
this.$router.push({ path: '/course/CourseList', query: {} })
|
this.goback();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue