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:
+1
-1
@@ -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}:`
|
||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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,
|
||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -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,
|
||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user