This commit is contained in:
syuilo 2019-03-03 07:48:25 +09:00
parent d50624f0a0
commit 76a0d0fee9
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
<div class="nqjzuvev">
<code v-for="log in logs" :key="log._id" :class="log.level">
<mk-time :time="log.createdAt"/> [{{ log.domain.join(' ') }}] {{ log.message }}
<mk-time :time="log.createdAt"/> [{{ log.domain.join('.') }}] {{ log.message }}
</code>
</div>
</section>

View File

@ -35,7 +35,7 @@ export default define(meta, async (ps) => {
if (ps.level) query.level = ps.level;
if (ps.domain) {
let i = 0;
for (const d of ps.domain.split(' ')) {
for (const d of ps.domain.split('.')) {
query[`domain.${i}`] = d;
i++;
}