细节优化
This commit is contained in:
parent
75c8d3d5fe
commit
08b2773a9f
|
@ -521,11 +521,10 @@ class PluginsLoader {
|
||||||
text = lodash.truncate(text, { length: 10 })
|
text = lodash.truncate(text, { length: 10 })
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Array.isArray(msg)) {
|
if (Array.isArray(msg))
|
||||||
msg = [segment.at(at, text), ...msg]
|
msg.unshift(segment.at(at, text), "\n")
|
||||||
} else {
|
else
|
||||||
msg = [segment.at(at, text), msg]
|
msg = [segment.at(at, text), "\n", msg]
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let msgRes
|
let msgRes
|
||||||
|
|
Loading…
Reference in New Issue