This commit is contained in:
yanran200730
2022-07-27 10:36:32 +08:00
6 changed files with 22 additions and 25 deletions

View File

@@ -255,11 +255,9 @@ export default {
params: {id}
}).then(res => {
if (res?.data) {
this.info = {
...res.data,
content: this.formatContent(res.data.content || ""),
files: res.data.files || []
};
let {files = [], content} = res.data
content = content.replace(/(\r\n)|(\n)/g, "<br>")
this.info = {...res.data, content, files};
this.searchMeetinguser()
}
});