✨(component): update
This commit is contained in:
parent
c94f7f246c
commit
31ba2575fd
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@layui/layui-vue",
|
||||
"version": "1.6.9",
|
||||
"version": "1.7.0-dev.3",
|
||||
"author": "就眠儀式",
|
||||
"license": "MIT",
|
||||
"description": "a component library for Vue 3 base on layui-vue",
|
||||
|
@ -622,11 +622,11 @@ const radioProps = props.getRadioProps(props.data, props.index);
|
||||
v-model:selectedKeys="tableSelectedKeys"
|
||||
v-model:selectedKey="tableSelectedKey"
|
||||
>
|
||||
<template v-for="name in slotsData" #[name]="{ data }">
|
||||
<slot :name="name" :data="data"></slot>
|
||||
<template v-for="name in slotsData" #[name]="slotProp: { data: any }">
|
||||
<slot :name="name" :data="slotProp.data"></slot>
|
||||
</template>
|
||||
<template v-if="slot.expand" #expand="{ data }">
|
||||
<slot name="expand" :data="data"></slot>
|
||||
<template v-if="slot.expand" #expand="slotProp: { data: any }">
|
||||
<slot name="expand" :data="slotProp.data"></slot>
|
||||
</template>
|
||||
</table-row>
|
||||
</template>
|
||||
|
@ -195,8 +195,8 @@ const isChildAllSelected = computed(() => {
|
||||
:only-icon-control="onlyIconControl"
|
||||
@node-click="recursiveNodeClick"
|
||||
>
|
||||
<template v-if="$slots.title" v-slot:title="{ data }">
|
||||
<slot name="title" :data="data"></slot>
|
||||
<template v-if="$slots.title" v-slot:title="slotProp: { data: any }">
|
||||
<slot name="title" :data="slotProp.data"></slot>
|
||||
</template>
|
||||
</tree-node>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user