mirror of
https://github.com/tenrok/vue-json-viewer.git
synced 2026-06-23 20:40:38 +03:00
feat: support showArrayIndex
This commit is contained in:
+3
-1
@@ -27,6 +27,7 @@ export default {
|
||||
},
|
||||
previewMode: Boolean,
|
||||
forceExpand: Boolean,
|
||||
showArrayIndex: Boolean,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -134,7 +135,8 @@ export default {
|
||||
depth: this.depth,
|
||||
expand: this.expand,
|
||||
previewMode: this.previewMode,
|
||||
forceExpand: this.forceExpandMe
|
||||
forceExpand: this.forceExpandMe,
|
||||
showArrayIndex: this.showArrayIndex,
|
||||
},
|
||||
on: {
|
||||
'update:expand': value => {
|
||||
|
||||
Reference in New Issue
Block a user