提交 0bdf787c 编写于 作者: bo.dang's avatar bo.dang

修改直播简介回显问题

上级 a291a1e5
......@@ -734,18 +734,12 @@
},
// 封装数据
setFormData(){
// if(!this.formData.circleId){
// this.formData.circleId = 1;// 测试用
// }
if(this.formData.textContent){
// 直播简介文字版
this.formData.rtcIntroduces[0].type = 1;
this.formData.rtcIntroduces[0].content = this.formData.textContent;
}
// 直播简介图片版
if(this.formData.imageContent){
this.formData.rtcIntroduces[1].type = 2;
this.formData.rtcIntroduces[1].content = this.formData.imageContent;
}
// 设置讲师
// if(this.formData.lecturers == undefined){
// this.formData.lecturers
......@@ -754,8 +748,6 @@
//
// this.formData.lecturers.push({username: this.formData.lecturesUserName, phone: this.formData.lecturesPhone});
// }
this.formData.lecturers[0].username = this.formData.lecturesUserName;
this.formData.lecturers[0].phone = this.formData.lecturesPhone;
},
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册