Update value.object.vue
This commit is contained in:
parent
10c1e8161f
commit
0ff714d11e
1 changed files with 24 additions and 17 deletions
|
@ -1,9 +1,14 @@
|
|||
<template>
|
||||
<div class="jhpkzgfz">
|
||||
<div class="empty" v-if="kvs.length === 0">
|
||||
No fields
|
||||
</div>
|
||||
<div class="kvs" v-else>
|
||||
<div class="kv" v-for="kv in kvs" :key="kv[0]">
|
||||
<div class="k _monospace">{{ kv[0] }}</div>
|
||||
<XValue class="v" :value="kv[1]" :schemas="schemas"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -48,6 +53,7 @@ export default defineComponent({
|
|||
border-radius: 4px;
|
||||
padding: 16px;
|
||||
|
||||
> .kvs {
|
||||
> .kv {
|
||||
display: flex;
|
||||
|
||||
|
@ -67,5 +73,6 @@ export default defineComponent({
|
|||
flex: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue