Skip to content

Commit 9eeb1f3

Browse files
jevin98sleeprite
authored andcommitted
!471 fix(upload): 当slots.preview为空时,对应区域则不渲染
* fix(upload): 当slots.preview为空时,对应区域则不渲染
1 parent f37762e commit 9eeb1f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/component/component/upload/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,7 @@ defineExpose({
608608
</div>
609609
</lay-layer>
610610
<div
611+
v-if="$slots.preview"
611612
class="layui-upload-list"
612613
:class="disabledPreview ? 'layui-upload-list-disabled' : ''"
613614
>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy