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