mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-05-20 21:19:29 +08:00
fix(editor): m-form不能加key,会导致vue示例销毁重建
This commit is contained in:
parent
f44500d21b
commit
fc50c87ad5
@ -3,7 +3,6 @@
|
|||||||
<slot name="props-panel-header"></slot>
|
<slot name="props-panel-header"></slot>
|
||||||
<MForm
|
<MForm
|
||||||
ref="configForm"
|
ref="configForm"
|
||||||
:key="node?.type"
|
|
||||||
:class="`m-editor-props-panel ${propsPanelSize}`"
|
:class="`m-editor-props-panel ${propsPanelSize}`"
|
||||||
:popper-class="`m-editor-props-panel-popper ${propsPanelSize}`"
|
:popper-class="`m-editor-props-panel-popper ${propsPanelSize}`"
|
||||||
:size="propsPanelSize"
|
:size="propsPanelSize"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user