2
0
mirror of https://github.com/tenrok/vue-json-viewer.git synced 2026-06-17 19:21:24 +03:00
This commit is contained in:
fengqi.cf
2022-03-03 19:28:04 +08:00
parent a4a149e5d6
commit c1bccc349c
8 changed files with 46 additions and 8 deletions
+2
View File
@@ -22,6 +22,7 @@ export default {
previewMode: Boolean,
showArrayIndex: Boolean,
showDoubleQuotes: Boolean,
path: String,
},
data() {
return {
@@ -110,6 +111,7 @@ export default {
forceExpand: this.forceExpand,
showArrayIndex: this.showArrayIndex,
showDoubleQuotes: this.showDoubleQuotes,
path: `${this.path}.${key}`,
}
}))
})
+2
View File
@@ -22,6 +22,7 @@ export default {
previewMode: Boolean,
showArrayIndex: Boolean,
showDoubleQuotes: Boolean,
path: String,
},
data() {
return {
@@ -121,6 +122,7 @@ export default {
forceExpand: this.forceExpand,
showArrayIndex: this.showArrayIndex,
showDoubleQuotes: this.showDoubleQuotes,
path: `${this.path}.${key}`
}
}))
}