forked from FoundKeyGang/FoundKey
Use dot
This commit is contained in:
parent
d50624f0a0
commit
76a0d0fee9
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue