+
{node.name}
- {node.kind === "PROJECT" ? "项目" : "文件夹"}
+ {node.kind === "PROJECT" ? "项目" : "文件夹"}
+ {node.role}
-
+
{#if canEdit && node.kind === "FOLDER"}
-
+
{/if}
{#if canManage}
-
-
+
+
{/if}
- {#if node.kind === "FOLDER"}
-
点击左侧树展开以浏览子内容
+
+ {#each tabs as [id, label] (id)}
+
+ {/each}
+
+
+ {#if tab === "grants"}
+
+ {:else if tab === "files" && node.kind === "PROJECT"}
+
{:else}
-
- {#each [["detail", "概览"], ["files", "文件"]] as [id, label] (id)}
-
- {/each}
-
- {#if tab === "detail"}
-
- {:else}
-
+
+ {#if node.kind === "FOLDER"}
+
文件夹是透明组织节点,点左侧树展开以浏览子内容。
{/if}
{/if}