fix: 表格卡片必须传statusNames, 解决报错问题
This commit is contained in:
parent
4494727311
commit
27f392dda8
|
@ -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">
|
||||||
|
|
|
@ -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">
|
||||||
|
|
Loading…
Reference in New Issue