fix: bugs

This commit is contained in:
xingyuv
2023-03-07 09:41:01 +08:00
parent 65e3652534
commit 004d214a11
3 changed files with 12 additions and 3 deletions

View File

@ -109,7 +109,13 @@ const toggleClick = () => {
v-bind="getBindItemValue(item)"
>
<template #label>
<slot :name="`${item.field}-label`" :label="item.label">{{ item.label }}</slot>
<slot
:name="`${item.field}-label`"
:row="{
label: item.label
}"
>{{ item.label }}</slot
>
</template>
<template #default>