refactor: 优化代码生成相关页面

This commit is contained in:
2024-04-19 22:17:39 +08:00
parent 6321de7cac
commit 124674c530
9 changed files with 144 additions and 120 deletions

View File

@@ -6,7 +6,7 @@
>
<div class="gi-option-item__wrapper">
<span class="gi-option-item__icon">
<slot name="icon">
<slot v-if="props.icon" name="icon">
<GiSvgIcon :name="props.icon"></GiSvgIcon>
</slot>
</span>