Explorar el Código

fix(ScreenSlide): 移除iframe界面scale限制为1的逻辑

之前iframe界面强制将scale限制为1,现根据需求调整为使用原始scale值
lsc hace 1 mes
padre
commit
6b7c0ad21c
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/views/Screen/ScreenSlide.vue

+ 2 - 1
src/views/Screen/ScreenSlide.vue

@@ -59,7 +59,8 @@ const hasIframe = computed(() => {
 // 计算scale:如果是iframe界面且scale大于1就按1,否则按原scale
 const iframeScale = computed(() => {
   if (hasIframe.value) {
-    return Math.min(props.scale, 1)
+    // return Math.min(props.scale, 1)
+    return props.scale
   }
   return props.scale
 })