2
0
mirror of https://github.com/tenrok/vue-json-viewer.git synced 2026-06-20 20:00:37 +03:00

feat: fix some issues

This commit is contained in:
风棋
2021-01-13 20:18:08 +08:00
parent 6f310879ef
commit 054b4089c7
7 changed files with 35 additions and 13 deletions
+3
View File
@@ -1,3 +1,6 @@
.jv-number-float {
color: #faa !important;
}
.jv-key-node {
display: flex;
}
+4 -2
View File
@@ -36,7 +36,8 @@ new Vue({
expand-depth={5}
copyable={{
copyText: '复制',
copiedText: '复制成功'
copiedText: '复制成功',
align: 'left'
}}
boxed
timeformat={time => new Date(time)}
@@ -46,7 +47,8 @@ new Vue({
value={this.jsonData}
expand-depth={1}
copyable={{
timeout: 4000
timeout: 4000,
align: 'left'
}}
scopedSlots={scopedSlots}
onCopied={onCopied}></json-viewer>