fix(card):Prevent the skeleton from unmounting the card sub-component.
parent
4a37016f4e
commit
64a81f86ed
|
@ -174,7 +174,8 @@ const Card = defineComponent({
|
|||
const coverDom = cover ? <div class={`${pre}-cover`}>{cover}</div> : null;
|
||||
const body = (
|
||||
<div class={`${pre}-body`} style={bodyStyle}>
|
||||
{loading ? loadingBlock : children}
|
||||
<div v-show={loading}>{loadingBlock}</div>
|
||||
<div v-show={!loading}>{children}</div>
|
||||
</div>
|
||||
);
|
||||
const actionDom =
|
||||
|
|
Loading…
Reference in New Issue