mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 02:46:44 +08:00
日志
This commit is contained in:
@@ -606,9 +606,11 @@ export default {
|
||||
console.log("父组件:",tags)
|
||||
let ids = "";
|
||||
tags.forEach(tag=>{
|
||||
console.log("父组件name : ",tag.tagName)
|
||||
ids += tag.id + ',';
|
||||
})
|
||||
this.courseInfo.tags = ids;
|
||||
console.log("父组件ids : ",this.courseInfo.tags)
|
||||
},
|
||||
showChooseOrg(){
|
||||
this.$refs.refChooseOrg.dlgShow = true;
|
||||
@@ -1202,12 +1204,17 @@ export default {
|
||||
},
|
||||
//保存课程信息并进入下一步
|
||||
saveAndNext(btnType) {
|
||||
console.log("courseForm 保存课程信息 btnType = " + btnType);
|
||||
//if(this.courseInfo.type)
|
||||
//console.log(this.courseCrowds,'courseCrowds');
|
||||
//标签,多个,转化为逗号分隔的
|
||||
|
||||
console.log("courseForm 保存课程信息 this.showTags = " + this.showTags);
|
||||
console.log("courseForm 保存课程信息 this.courseInfo.tags = " + this.courseInfo.tags);
|
||||
if (this.showTags.length > 0) {
|
||||
this.courseInfo.tags = this.showTags.join();
|
||||
}
|
||||
console.log("courseForm 保存课程信息 this.courseInfo.tags = " + this.courseInfo.tags);
|
||||
this.courseInfo.keywords = this.tips.join(',') || ''
|
||||
//检查输入是否合法
|
||||
//if(!this.requireSaveCourse){
|
||||
|
||||
Reference in New Issue
Block a user