Skip to content

Commit 3dc9c68

Browse files
committed
bump to 1.5.38
1 parent af18a97 commit 3dc9c68

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"author": "HC200ok",
44
"description": "A customizable and easy-to-use data table component made with Vue.js 3.x.",
55
"private": false,
6-
"version": "1.5.37",
6+
"version": "1.5.38",
77
"types": "./types/main.d.ts",
88
"license": "MIT",
99
"files": [

src/components/DataTable.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,9 @@
147147
@click="column === 'expand' ? updateExpandingItemIndexList(index + prevPageEndIndex, item, $event) : null"
148148
>
149149
<slot
150-
v-if="slots['item-general']"
151-
name="item-general"
152-
v-bind="generateColumnContent(column, item)"
150+
v-if="slots['item']"
151+
name="item"
152+
v-bind="{column, item}"
153153
/>
154154
<slot
155155
v-else-if="slots[`item-${column}`]"

src/modes/Client.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@
8989
</div>
9090
</template>
9191

92-
<template #item-general="item">
92+
<template #item="{column, item}">
9393
<div style="padding: 15px">
94-
{{ item }} camelCase
94+
column: {{ column }} item: {{ item }}
9595
</div>
9696
</template>
9797

0 commit comments

Comments
 (0)