2
0
mirror of https://github.com/tenrok/vue-json-viewer.git synced 2026-06-20 20:00:37 +03:00

Updated types

This commit is contained in:
Vikram Biwal
2022-01-07 16:23:33 +05:30
parent 0a7ec9241f
commit c4a3347976
3 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ export default {
'jv-key': true 'jv-key': true
}, },
domProps: { domProps: {
innerText: this.showDoubleQuotes ? `"${this.keyName}":` : `${this.keyName}:` innerText: this.showDoubleQuotes ? `"${this.keyName}":` : `${this.keyName}:`
} }
})) }))
} }
+2
View File
@@ -21,6 +21,7 @@ export default {
forceExpand: Boolean, forceExpand: Boolean,
previewMode: Boolean, previewMode: Boolean,
showArrayIndex: Boolean, showArrayIndex: Boolean,
showDoubleQuotes: Boolean,
}, },
data() { data() {
return { return {
@@ -108,6 +109,7 @@ export default {
previewMode: this.previewMode, previewMode: this.previewMode,
forceExpand: this.forceExpand, forceExpand: this.forceExpand,
showArrayIndex: this.showArrayIndex, showArrayIndex: this.showArrayIndex,
showDoubleQuotes: this.showDoubleQuotes,
} }
})) }))
}) })
+2
View File
@@ -21,6 +21,7 @@ export default {
sort: Boolean, sort: Boolean,
previewMode: Boolean, previewMode: Boolean,
showArrayIndex: Boolean, showArrayIndex: Boolean,
showDoubleQuotes: Boolean,
}, },
data() { data() {
return { return {
@@ -119,6 +120,7 @@ export default {
previewMode: this.previewMode, previewMode: this.previewMode,
forceExpand: this.forceExpand, forceExpand: this.forceExpand,
showArrayIndex: this.showArrayIndex, showArrayIndex: this.showArrayIndex,
showDoubleQuotes: this.showDoubleQuotes,
} }
})) }))
} }