fix(editor): layout 组件中hasRight判断出错
This commit is contained in:
@@ -48,7 +48,7 @@ const props = withDefaults(
|
||||
const el = ref<HTMLElement>();
|
||||
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user