Selaa lähdekoodia

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

RuoYi 1 vuosi sitten
vanhempi
commit
aea6ee2900
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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">