This commit is contained in:
syuilo 2019-03-03 07:48:25 +09:00
parent a44030bff2
commit 4574cc2923
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++;
}