Commit c6953baf by xuyl

优化直播间

1 parent 1dabc35e
...@@ -378,14 +378,12 @@ export default { ...@@ -378,14 +378,12 @@ export default {
this.showDraft = false; this.showDraft = false;
} }
this.incomingStatus = status this.incomingStatus = status
console.log('当前的状态是',status)
this.baseForm.name = res.name; this.baseForm.name = res.name;
this.baseForm.introduction = res.introduction; this.baseForm.introduction = res.introduction;
this.$set(this.baseForm, "timeStr", [res.startTimeStr.replace(/\//g, "-"), res.endTimeStr.replace(/\//g, "-")]); this.$set(this.baseForm, "timeStr", [res.startTimeStr.replace(/\//g, "-"), res.endTimeStr.replace(/\//g, "-")]);
Object.keys(res).forEach(i => { Object.keys(res).forEach(i => {
this.liveRoom[i] = res[i] || this.liveRoom[i]; this.liveRoom[i] = res[i] || this.liveRoom[i];
}); });
console.log(this.liveRoom)
if (res.preLiveMediaType == "0") { if (res.preLiveMediaType == "0") {
this.liveRoom.preLiveMediaType = '0' this.liveRoom.preLiveMediaType = '0'
this.liveRoom.preLiveMediaFilePic = res.preLiveMediaFile; this.liveRoom.preLiveMediaFilePic = res.preLiveMediaFile;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!