更新
This commit is contained in:
@@ -285,12 +285,11 @@ const actions = {
|
||||
let logs = data.resp_info.add_log
|
||||
let loglist = []
|
||||
for (let i = 0; i < logs.length; i++) {
|
||||
let text1 = logs[i].split('[', 2)
|
||||
let text2 = text1[1].split(']', 2)
|
||||
let texts = logs[i].split('|')
|
||||
loglist.push({
|
||||
time: text1[0],
|
||||
text: text2[1],
|
||||
status: text2[0]
|
||||
time: texts[0],
|
||||
text: texts[2],
|
||||
status: texts[1]
|
||||
})
|
||||
}
|
||||
let list = [...state.logList, ...loglist]
|
||||
|
||||
Reference in New Issue
Block a user