mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-06-21 17:29:30 +08:00
fix(form): dialog,drawer disable时确认按钮置灰
This commit is contained in:
parent
90205f5395
commit
ded82aae41
@ -46,7 +46,7 @@
|
||||
<TMagicButton v-if="hasStep && stepCount > stepActive" type="info" size="small" @click="nextStep"
|
||||
>下一步</TMagicButton
|
||||
>
|
||||
<TMagicButton v-else type="primary" size="small" :loading="saveFetch" @click="save">{{
|
||||
<TMagicButton v-else type="primary" size="small" :disabled="disabled" :loading="saveFetch" @click="save">{{
|
||||
confirmText
|
||||
}}</TMagicButton>
|
||||
</slot>
|
||||
|
@ -36,7 +36,9 @@
|
||||
<TMagicCol :span="12">
|
||||
<slot name="footer">
|
||||
<TMagicButton @click="hide">关闭</TMagicButton>
|
||||
<TMagicButton type="primary" @click="submitHandler" :loading="saveFetch">{{ confirmText }}</TMagicButton>
|
||||
<TMagicButton type="primary" :disabled="disabled" :loading="saveFetch" @click="submitHandler">{{
|
||||
confirmText
|
||||
}}</TMagicButton>
|
||||
</slot>
|
||||
</TMagicCol>
|
||||
</TMagicRow>
|
||||
|
Loading…
x
Reference in New Issue
Block a user