fix(editor): moveableOptions默认值中的container有误

This commit is contained in:
roymondchen 2022-06-21 20:12:36 +08:00 committed by jia000
parent a49bf42407
commit 23776299a7

View File

@ -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 */