Use dot
This commit is contained in:
parent
d50624f0a0
commit
76a0d0fee9
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
<div class="nqjzuvev">
|
<div class="nqjzuvev">
|
||||||
<code v-for="log in logs" :key="log._id" :class="log.level">
|
<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>
|
</code>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -35,7 +35,7 @@ export default define(meta, async (ps) => {
|
||||||
if (ps.level) query.level = ps.level;
|
if (ps.level) query.level = ps.level;
|
||||||
if (ps.domain) {
|
if (ps.domain) {
|
||||||
let i = 0;
|
let i = 0;
|
||||||
for (const d of ps.domain.split(' ')) {
|
for (const d of ps.domain.split('.')) {
|
||||||
query[`domain.${i}`] = d;
|
query[`domain.${i}`] = d;
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue