更新 README 文档,修正截图标题并添加第二张截图;在 JsonTreeNode 组件中添加注释以提高代码可读性
This commit is contained in:
@@ -106,9 +106,10 @@ npm run preview
|
|||||||
- 当 `excludeIfEmpty = true` 时,空值字段不会出现在输出 JSON 中
|
- 当 `excludeIfEmpty = true` 时,空值字段不会出现在输出 JSON 中
|
||||||
- 若目标字段包含 `.`,会按路径写入嵌套对象
|
- 若目标字段包含 `.`,会按路径写入嵌套对象
|
||||||
|
|
||||||
## <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͼ
|
|
||||||
|
|
||||||

|
## Screenshots
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
defaultOpen?: boolean;
|
defaultOpen?: boolean;
|
||||||
} = $props();
|
} = $props();
|
||||||
|
|
||||||
|
// svelte-ignore state_referenced_locally — intentionally using initial value only
|
||||||
let open = $state(defaultOpen);
|
let open = $state(defaultOpen);
|
||||||
|
|
||||||
const valueType = $derived(
|
const valueType = $derived(
|
||||||
|
|||||||
Reference in New Issue
Block a user