docs: 更新日志, 修复文档细节

This commit is contained in:
就眠儀式
2022-03-31 14:19:37 +08:00
parent da148ac779
commit 9e9efec10c
11 changed files with 80 additions and 53 deletions

View File

@@ -8,12 +8,15 @@ export default {
import "./index.less";
export interface LayAvatarProps {
src?: String;
size?: string;
src?: string;
size?: 'xs' | 'sm' | 'md' | 'lg';
radius?: boolean;
}
const props = withDefaults(defineProps<LayAvatarProps>(), {});
const props = withDefaults(defineProps<LayAvatarProps>(), {
size: 'md',
radius: false
});
</script>
<template>