fix: skeketon components show error when multiple children

pull/2049/head
wangxueliang 2020-04-09 22:35:56 +08:00
parent 4826104ea8
commit 62828bc2f6
1 changed files with 1 additions and 1 deletions

View File

@ -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 */