mirror of
https://github.com/tenrok/vue-json-viewer.git
synced 2026-06-08 17:22:32 +03:00
Updated types
This commit is contained in:
+1
-1
@@ -120,7 +120,7 @@ export default {
|
||||
'jv-key': true
|
||||
},
|
||||
domProps: {
|
||||
innerText: this.showDoubleQuotes ? `"${this.keyName}":` : `${this.keyName}:`
|
||||
innerText: this.showDoubleQuotes ? `"${this.keyName}":` : `${this.keyName}:`
|
||||
}
|
||||
}))
|
||||
}
|
||||
|
||||
@@ -21,6 +21,7 @@ export default {
|
||||
forceExpand: Boolean,
|
||||
previewMode: Boolean,
|
||||
showArrayIndex: Boolean,
|
||||
showDoubleQuotes: Boolean,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -108,6 +109,7 @@ export default {
|
||||
previewMode: this.previewMode,
|
||||
forceExpand: this.forceExpand,
|
||||
showArrayIndex: this.showArrayIndex,
|
||||
showDoubleQuotes: this.showDoubleQuotes,
|
||||
}
|
||||
}))
|
||||
})
|
||||
|
||||
@@ -21,6 +21,7 @@ export default {
|
||||
sort: Boolean,
|
||||
previewMode: Boolean,
|
||||
showArrayIndex: Boolean,
|
||||
showDoubleQuotes: Boolean,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -119,6 +120,7 @@ export default {
|
||||
previewMode: this.previewMode,
|
||||
forceExpand: this.forceExpand,
|
||||
showArrayIndex: this.showArrayIndex,
|
||||
showDoubleQuotes: this.showDoubleQuotes,
|
||||
}
|
||||
}))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user