提交 3e3c41d9 编写于 作者: bo.dang's avatar bo.dang

新增图片修改

上级 90a0aea2
...@@ -1066,7 +1066,21 @@ ...@@ -1066,7 +1066,21 @@
} }
// 直播简介图片版 // 直播简介图片版
this.formData.rtcIntroduces = JSON.parse(JSON.stringify(this.rtcIntroducesImages));
if(this.rtcIntroducesImages != null && this.rtcIntroducesImages.length != 0){
let rtcIntroducesImagesArray = this.rtcIntroducesImages.filter(function (item) {
return item.content != "";
});
if(rtcIntroducesImagesArray != null && rtcIntroducesImagesArray.length != 0){
// 直播简介图片版
this.formData.rtcIntroduces = JSON.parse(JSON.stringify(this.rtcIntroducesImages));
}
}
else {
this.formData.rtcIntroduces = JSON.parse(JSON.stringify(this.rtcIntroducesImages));
}
// 直播简介文字版 // 直播简介文字版
if(this.formData.textContent != null && this.formData.textContent != ""){ if(this.formData.textContent != null && this.formData.textContent != ""){
this.rtcIntroducesText = this.formData.rtcIntroduces.filter(function (item) { this.rtcIntroducesText = this.formData.rtcIntroduces.filter(function (item) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册