fix: 更新elemnt-plus2.0.2后,size的值变了,去掉Form下size prop的默认值,增加Formdialog size prop

This commit is contained in:
roymondchen 2022-03-02 20:35:31 +08:00 committed by jia000
parent 344a032ac3
commit 3419f800ef
2 changed files with 3 additions and 1 deletions

View File

@ -89,7 +89,6 @@ export default defineComponent({
size: {
type: String,
default: 'small',
},
inline: {

View File

@ -15,6 +15,7 @@
<m-form
v-model="stepActive"
ref="form"
:size="size"
:config="config"
:init-values="values"
:label-width="labelWidth"
@ -77,6 +78,8 @@ export default defineComponent({
labelWidth: [Number, String],
size: String as PropType<'mini' | 'small' | 'medium'>,
confirmText: {
type: String,
default: '确定',