✨(component): 合并 github Pull Request
This commit is contained in:
parent
6e155c7bc5
commit
7133a0d79a
@ -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>
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
export * from "./DomUtil";
|
export * from "./domUtil";
|
||||||
export * from "./withInstall";
|
export * from "./withInstall";
|
||||||
export * from "./arrayUtil";
|
export * from "./arrayUtil";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user