fix: 表格卡片必须传statusNames, 解决报错问题

This commit is contained in:
JiangQiming 2023-03-17 21:12:04 +08:00
parent 4494727311
commit 27f392dda8
2 changed files with 2 additions and 2 deletions

View File

@ -50,9 +50,9 @@
<template #card="slotProps"> <template #card="slotProps">
<CardBox <CardBox
:showStatus="false" :showStatus="false"
:statusNames="{}"
:value="slotProps" :value="slotProps"
:actions="getActions(slotProps, 'card')" :actions="getActions(slotProps, 'card')"
v-bind="slotProps"
> >
<template #img> <template #img>
<slot name="img"> <slot name="img">

View File

@ -56,7 +56,7 @@
:showStatus="false" :showStatus="false"
:value="slotProps" :value="slotProps"
:actions="getActions(slotProps, 'card')" :actions="getActions(slotProps, 'card')"
v-bind="slotProps" :statusNames="{}"
> >
<template #img> <template #img>
<slot name="img"> <slot name="img">