fix: bug#10681

This commit is contained in:
JiangQiming 2023-03-22 16:39:32 +08:00
parent e1e6bea2a7
commit 17fea0efac
1 changed files with 2 additions and 4 deletions

View File

@ -30,11 +30,9 @@
:actions="getActions(slotProps, 'card')"
v-bind="slotProps"
:showStatus="true"
:status="
slotProps.state.value === 'online' ? 'success' : 'error'
"
:status="slotProps.state.value"
:statusText="slotProps.state.text"
:statusNames="{ success: 'success', error: 'error' }"
:statusNames="{ online: 'processing', offline: 'error' }"
>
<template #img>
<slot name="img">