workflow底层UI库整合至项目,优化构建逻辑
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<script lang="ts">
|
||||
let { target } = $props();
|
||||
if (typeof target === 'undefined') target = "undefined";
|
||||
</script>
|
||||
|
||||
|
||||
{#if typeof target === 'function'}
|
||||
{@render target?.()}
|
||||
{:else }
|
||||
{@html target}
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user