mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-05 19:41:40 +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: {
|
size: {
|
||||||
type: String,
|
type: String,
|
||||||
default: 'small',
|
|
||||||
},
|
},
|
||||||
|
|
||||||
inline: {
|
inline: {
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
<m-form
|
<m-form
|
||||||
v-model="stepActive"
|
v-model="stepActive"
|
||||||
ref="form"
|
ref="form"
|
||||||
|
:size="size"
|
||||||
:config="config"
|
:config="config"
|
||||||
:init-values="values"
|
:init-values="values"
|
||||||
:label-width="labelWidth"
|
:label-width="labelWidth"
|
||||||
@ -77,6 +78,8 @@ export default defineComponent({
|
|||||||
|
|
||||||
labelWidth: [Number, String],
|
labelWidth: [Number, String],
|
||||||
|
|
||||||
|
size: String as PropType<'mini' | 'small' | 'medium'>,
|
||||||
|
|
||||||
confirmText: {
|
confirmText: {
|
||||||
type: String,
|
type: String,
|
||||||
default: '确定',
|
default: '确定',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user