1
0
mirror of synced 2026-03-23 11:18:36 +08:00

feat(element-plus-adapter, from, tdesign-vue-adapter): button兼容type=default和type为空的情况

This commit is contained in:
roymondchen
2025-10-31 11:58:26 +08:00
parent 564a7f4271
commit d0179028fb
4 changed files with 9 additions and 4 deletions

View File

@@ -42,7 +42,7 @@
</TMagicCol>
<TMagicCol :span="12">
<slot name="footer">
<TMagicButton type="default" @click="cancel" size="small"> </TMagicButton>
<TMagicButton @click="cancel" size="small"> </TMagicButton>
<TMagicButton v-if="hasStep && stepActive > 1" type="info" size="small" @click="preStep"
>上一步</TMagicButton
>

View File

@@ -42,7 +42,7 @@
</TMagicCol>
<TMagicCol :span="12">
<slot name="footer">
<TMagicButton type="default" @click="handleClose">关闭</TMagicButton>
<TMagicButton @click="handleClose">关闭</TMagicButton>
<TMagicButton type="primary" :disabled="disabled" :loading="saveFetch" @click="submitHandler">{{
confirmText
}}</TMagicButton>