diff --git a/packages/editor/src/components/Layout.vue b/packages/editor/src/components/Layout.vue index 5330fbd7..ead4841a 100644 --- a/packages/editor/src/components/Layout.vue +++ b/packages/editor/src/components/Layout.vue @@ -48,7 +48,7 @@ const props = withDefaults( const el = ref(); const hasLeft = computed(() => typeof props.left !== 'undefined'); -const hasRight = computed(() => typeof props.left !== 'undefined'); +const hasRight = computed(() => typeof props.right !== 'undefined'); const getCenterWidth = (clientWidth: number, left: number, right: number) => { let center = clientWidth - left - right;