Browse Source

fix: FTButton修改

feature/three
guoapeng 3 months ago
parent
commit
c77337e262
  1. 5
      src/components/common/FTButton/index.vue

5
src/components/common/FTButton/index.vue

@ -55,7 +55,7 @@ defineExpose({
<!-- 添加 loading 判断 -->
<Loading class="rotate-loading" /> <!-- 添加旋转类 -->
</el-icon>
<slot />
<span><slot /></span>
</div>
</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;

Loading…
Cancel
Save