mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-05 07:27:09 +08:00
fix: 更新elemnt-plus2.0.2后,size的值变了,去掉Form下size prop的默认值,增加Formdialog size prop
This commit is contained in:
parent
344a032ac3
commit
3419f800ef
@ -89,7 +89,6 @@ export default defineComponent({
|
||||
|
||||
size: {
|
||||
type: String,
|
||||
default: 'small',
|
||||
},
|
||||
|
||||
inline: {
|
||||
|
@ -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: '确定',
|
||||
|
Loading…
x
Reference in New Issue
Block a user