(component): 补充头像案例说明

This commit is contained in:
就眠儀式
2022-10-16 11:03:38 +08:00
parent e994893bfc
commit 8fb2897d19
3 changed files with 6 additions and 5 deletions

View File

@@ -17,9 +17,9 @@ import {
onUnmounted,
nextTick,
computed,
reactive,
StyleValue,
} from "vue";
export interface LayAiffxProps {
offset?: number;
target?: HTMLElement;
@@ -33,6 +33,7 @@ const props = withDefaults(defineProps<LayAiffxProps>(), {
return document.body;
},
});
const emit = defineEmits(["scroll"]);
const outWindow = ref(false);
const dom = ref();

View File

@@ -10,4 +10,4 @@ export default {
<div class="layui-avatar-list">
<slot></slot>
</div>
</template>
</template>