mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
fix(editor): moveableOptions默认值中的container有误
This commit is contained in:
parent
a49bf42407
commit
23776299a7
@ -130,9 +130,6 @@ export default defineComponent({
|
||||
/** 画布中组件选中框的移动范围 */
|
||||
moveableOptions: {
|
||||
type: [Object, Function] as PropType<MoveableOptions | ((core?: StageCore) => MoveableOptions)>,
|
||||
default: () => (core?: StageCore) => ({
|
||||
container: core?.renderer?.contentWindow?.document.getElementById('app'),
|
||||
}),
|
||||
},
|
||||
|
||||
/** 编辑器初始化时默认选中的组件ID */
|
||||
|
Loading…
x
Reference in New Issue
Block a user