(component): 合并 github Pull Request

This commit is contained in:
就眠儀式 2022-09-26 10:05:28 +08:00
parent 6e155c7bc5
commit 7133a0d79a
2 changed files with 3 additions and 3 deletions

View File

@ -31,9 +31,9 @@ const slot = useSlots();
<template> <template>
<span v-if="!slot.default" :class="classes"> <span v-if="!slot.default" :class="classes">
<img :alt="alt" :src="src" /> <img :alt="alt" :src="src" />
</span> </span>
<span :class="classes" v-else > <span :class="classes" v-else>
<slot></slot> <slot></slot>
</span> </span>
</template> </template>

View File

@ -1,3 +1,3 @@
export * from "./DomUtil"; export * from "./domUtil";
export * from "./withInstall"; export * from "./withInstall";
export * from "./arrayUtil"; export * from "./arrayUtil";