zhujindu 6 mesi fa
parent
commit
4ee9c948f7
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      src/components/share.vue

+ 3 - 3
src/components/share.vue

@@ -248,9 +248,9 @@ export default {
             // 保持父容器为可见滚动
             scrollContainer.parentElement.style.overflow = 'visible';
             // 强制浏览器重排
-            scrollContainer.style.display = 'none';
-            scrollContainer.offsetHeight; // 触发重排
-            scrollContainer.style.display = 'block';
+            // scrollContainer.style.display = 'none';
+            // scrollContainer.offsetHeight; // 触发重排
+            // scrollContainer.style.display = 'block';
 
             // 添加移动端滚动优化
             // requestAnimationFrame(() => {