Browse Source

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

RuoYi 1 year ago
parent
commit
aea6ee2900
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/ImagePreview/index.vue

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

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