feat(element-plus-adapter, from, tdesign-vue-adapter): button兼容type=default和type为空的情况
This commit is contained in:
@@ -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
|
||||
>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user