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:
@@ -29,6 +29,7 @@
|
||||
:value="value"
|
||||
:sort="sort"
|
||||
:preview-mode="previewMode"
|
||||
:show-array-index="showArrayIndex"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
@@ -91,6 +92,10 @@ export default {
|
||||
previewMode: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
showArrayIndex: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
}
|
||||
},
|
||||
provide () {
|
||||
|
||||
Reference in New Issue
Block a user