Skip to content

Commit

Permalink
fix(editor): moveableOptions默认值中的container有误
Browse files Browse the repository at this point in the history
  • Loading branch information
roymondchen authored and jia000 committed Jun 21, 2022
1 parent a49bf42 commit 2377629
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/editor/src/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 2377629

Please sign in to comment.