diff --git a/frontend/src/components/log-file/index.vue b/frontend/src/components/log-file/index.vue index 0fa5077c8..53529d5e1 100644 --- a/frontend/src/components/log-file/index.vue +++ b/frontend/src/components/log-file/index.vue @@ -162,6 +162,9 @@ const getContent = () => { if (!end.value && res.data.end) { lastContent.value = content.value; } + res.data.content = res.data.content.replace(/\\u(\w{4})/g, function (match, grp) { + return String.fromCharCode(parseInt(grp, 16)); + }); data.value = res.data; if (res.data.content != '') { if (stopSignals.some((signal) => res.data.content.endsWith(signal))) { diff --git a/frontend/src/views/container/container/index.vue b/frontend/src/views/container/container/index.vue index ff6de2007..84db1e6d9 100644 --- a/frontend/src/views/container/container/index.vue +++ b/frontend/src/views/container/container/index.vue @@ -110,7 +110,12 @@ - +