2
0
mirror of https://github.com/tenrok/vue-json-viewer.git synced 2026-06-11 18:02:29 +03:00

feat: Add PreviewMode

This commit is contained in:
风棋
2020-10-13 16:51:14 +08:00
parent 0fe1ca5dc2
commit febc8e5d00
9 changed files with 38 additions and 10 deletions
+11
View File
@@ -18,6 +18,17 @@ new Vue({
}
return (
<div>
<json-viewer
preview-mode
value={{
data: {
data: {
data: {
a: 1
}
}
}
}}></json-viewer>
<json-viewer value={this.jsonData}></json-viewer>
<hr />
<json-viewer