2
0
mirror of https://github.com/tenrok/vue-json-viewer.git synced 2026-06-17 19:21:24 +03:00

feat: add timeformat props

This commit is contained in:
风棋
2020-07-14 11:18:19 +08:00
parent 3772cf550a
commit dc78d721a5
10 changed files with 33 additions and 19 deletions
+1
View File
@@ -27,6 +27,7 @@ new Vue({
copiedText: '复制成功'
}}
boxed
timeformat={time => new Date(time)}
sort></json-viewer>
<hr />
<json-viewer