1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| <script>
| import {h} from "vue"
| export default {
| name: 'JsonUndefined',
| functional: true,
| props: {
| jsonValue: {
| type: Object,
| default: null
| }
| },
| render () {
| return h('span', {
| class: {
| 'jv-item': true,
| 'jv-undefined': true,
| },
| innerText: this.jsonValue === null ? 'null' : 'undefined'
| })
| }
| }
| </script>
|
|