mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-26 16:53:02 +00:00
parent
b65f265c55
commit
db8625c31a
2 changed files with 1 additions and 10 deletions
|
@ -235,7 +235,6 @@
|
||||||
"vue-cropperjs": "3.0.0",
|
"vue-cropperjs": "3.0.0",
|
||||||
"vue-i18n": "8.8.2",
|
"vue-i18n": "8.8.2",
|
||||||
"vue-js-modal": "1.3.28",
|
"vue-js-modal": "1.3.28",
|
||||||
"vue-json-viewer": "2.0.6",
|
|
||||||
"vue-loader": "15.7.0",
|
"vue-loader": "15.7.0",
|
||||||
"vue-marquee-text-component": "1.1.1",
|
"vue-marquee-text-component": "1.1.1",
|
||||||
"vue-prism-component": "1.1.1",
|
"vue-prism-component": "1.1.1",
|
||||||
|
|
|
@ -20,10 +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">
|
||||||
<details>
|
<mk-time :time="log.createdAt"/> [{{ log.domain.join('.') }}] {{ log.message }}
|
||||||
<summary><mk-time :time="log.createdAt"/> [{{ log.domain.join('.') }}] {{ log.message }}</summary>
|
|
||||||
<json-viewer v-if="log.data" :value="log.data"></json-viewer>
|
|
||||||
</details>
|
|
||||||
</code>
|
</code>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
@ -35,15 +32,10 @@
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import i18n from '../../i18n';
|
import i18n from '../../i18n';
|
||||||
import { faStream } from '@fortawesome/free-solid-svg-icons';
|
import { faStream } from '@fortawesome/free-solid-svg-icons';
|
||||||
import JsonViewer from 'vue-json-viewer';
|
|
||||||
|
|
||||||
export default Vue.extend({
|
export default Vue.extend({
|
||||||
i18n: i18n('admin/views/logs.vue'),
|
i18n: i18n('admin/views/logs.vue'),
|
||||||
|
|
||||||
components: {
|
|
||||||
JsonViewer
|
|
||||||
},
|
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
logs: [],
|
logs: [],
|
||||||
|
|
Loading…
Reference in a new issue