We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1ffe2a commit e64fb33Copy full SHA for e64fb33
components/space/index.tsx
@@ -68,7 +68,7 @@ const Space = defineComponent({
68
);
69
const style = computed(() => {
70
const gapStyle: CSSProperties = {};
71
- if (supportFlexGap) {
+ if (supportFlexGap.value) {
72
gapStyle.columnGap = `${horizontalSize.value}px`;
73
gapStyle.rowGap = `${verticalSize.value}px`;
74
}
@@ -94,7 +94,7 @@ const Space = defineComponent({
94
<div class={cn.value} style={style.value}>
95
{items.map((child, index) => {
96
let itemStyle: CSSProperties = {};
97
- if (!supportFlexGap) {
+ if (!supportFlexGap.value) {
98
if (direction === 'vertical') {
99
if (index < latestIndex) {
100
itemStyle = { marginBottom: `${horizontalSizeVal / (split ? 2 : 1)}px` };
0 commit comments