fix: skeketon components show error when multiple children
parent
4826104ea8
commit
62828bc2f6
|
@ -157,7 +157,7 @@ const Skeleton = {
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return this.$slots.default && this.$slots.default[0];
|
return <span>{this.$slots.default}</span>;
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
/* istanbul ignore next */
|
/* istanbul ignore next */
|
||||||
|
|
Loading…
Reference in New Issue