迁移日志到MongoDB

This commit is contained in:
marvzhang
2020-04-01 16:52:23 +08:00
parent a9f6967135
commit 63c95f8618
10 changed files with 222 additions and 77 deletions

View File

@@ -20,6 +20,12 @@ export default {
type: Number,
default: 1
},
logItem: {
type: Object,
default () {
return {}
}
},
data: {
type: String,
default: ''

View File

@@ -158,6 +158,7 @@ export default {
// https://vuejs.org/v2/guide/render-function.html#createElement-Arguments
props: {
index: logItem.index,
logItem,
data: isAnsi ? convert.toHtml(logItem.data) : logItem.data,
searchString: this.searchString,
active: logItem.active,