Ver Fonte

更换表格内预览图片被覆盖问题

RuoYi há 1 ano atrás
pai
commit
aea6ee2900
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/components/ImagePreview/index.vue

+ 1 - 1
src/components/ImagePreview/index.vue

@@ -4,7 +4,7 @@
     fit="cover"
     :style="`width:${realWidth};height:${realHeight};`"
     :preview-src-list="realSrcList"
-    append-to-body="true"
+    :preview-teleported="true"
   >
     <template #error>
       <div class="image-slot">