refactor: migrate json-viewer from vue-json-viewer to vue-json-pretty

- Replace vue-json-viewer with vue-json-pretty (actively maintained, Vue 3 native)
- Map original props to vue-json-pretty API in bindProps for backward compatibility
- Implement copy functionality via renderNodeActions slot with i18n support
- Update style.scss from .jv-* to .vjs-* class names
This commit is contained in:
xingyu4j
2026-05-20 14:39:17 +08:00
parent 9badda3d11
commit f71094e878
5 changed files with 139 additions and 165 deletions

View File

@@ -45,7 +45,7 @@
"qrcode": "catalog:",
"tippy.js": "catalog:",
"vue": "catalog:",
"vue-json-viewer": "catalog:",
"vue-json-pretty": "catalog:",
"vue-router": "catalog:",
"vue-tippy": "catalog:"
},