mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 04:26:01 +00:00
shell tab
This commit is contained in:
@@ -47,13 +47,15 @@
|
||||
}}
|
||||
>
|
||||
{#each columnList as col}
|
||||
{#if col.component}
|
||||
<svelte:component this={col.component} {...col.getProps(row)} />
|
||||
{:else if col.formatter}
|
||||
{col.formatter(row)}
|
||||
{:else}
|
||||
{row[col.fieldName]}
|
||||
{/if}
|
||||
<td>
|
||||
{#if col.component}
|
||||
<svelte:component this={col.component} {...col.getProps(row)} />
|
||||
{:else if col.formatter}
|
||||
{col.formatter(row)}
|
||||
{:else}
|
||||
{row[col.fieldName]}
|
||||
{/if}
|
||||
</td>
|
||||
{/each}
|
||||
</tr>
|
||||
{/each}
|
||||
|
||||
Reference in New Issue
Block a user