@ -55,7 +55,7 @@ defineExpose({
<!-- 添加 loading 判断 -->
<Loading class="rotate-loading" /> <!-- 添加旋转类 -->
</el-icon>
<slot />
<span><slot /></span>
</div>
</template>
@ -81,9 +81,10 @@ defineExpose({
border-radius: 5px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
font-size: 14px;
width: fit-content;
//width: fit-content;
position: relative;
.el-icon {
position: absolute;