Skip to content

Commit 9f7036a

Browse files
authored
Merge pull request #88 from HC200ok/extract-props
optimize: withOptionalProps => propsWithDefault
2 parents 822c2f4 + f335939 commit 9f7036a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/DataTable.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,10 +245,10 @@ import type { HeaderForRender } from '../types/internal';
245245
246246
// eslint-disable-next-line import/extensions
247247
import { generateColumnContent } from '../utils';
248-
import withOptionalProps from '../withOptionalProps';
248+
import propsWithDefault from '../propsWithDefault';
249249
250250
const props = defineProps({
251-
...withOptionalProps,
251+
...propsWithDefault,
252252
items: {
253253
type: Array as PropType<Item[]>,
254254
required: true,

0 commit comments

Comments
 (0)