Skip to content

Commit

Permalink
test(grid): update grid test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
novlan1 committed May 25, 2024
1 parent 0bf8b49 commit fb99719
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/grid/grid-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default defineComponent({
const gridItemClasses = computed(() => [
`${name}`,
`${name}--${props.layout}`,
{ [`${name}--bordered`]: border, [`${name}--surround`]: border && gutter },
{ [`${name}--bordered`]: border.value, [`${name}--surround`]: border.value && gutter.value },
]);

return () => {
Expand Down
2 changes: 1 addition & 1 deletion src/grid/grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default defineComponent({
{
[`${name}--card`]: props.theme === 'card',
[`${name}--auto-size`]: props.column === 0,
[`${name}--bordered`]: border && !gutter,
[`${name}--bordered`]: props.border && !props.gutter,
},
]);
return () => (
Expand Down

0 comments on commit fb99719

Please sign in to comment.