Commit b59a6dc
committed
fix: 修复和优化 JSON Tree Viewer 项目
- 修复重复的 DOMContentLoaded 事件监听器
- 统一代码缩进格式
- 修复树形结构伪元素定位问题
- 改进复制功能,添加 clipboard API 可用性检查
- 优化搜索性能,减少重复 DOM 查询
- 修复切换按钮垂直居中问题
- 替换复制按钮特殊字符为通用文本
- 更新 README.md 添加更新日志1 parent 41ce5cd commit b59a6dc
3 files changed
Lines changed: 188 additions & 120 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments