zhujindu преди 6 месеца
родител
ревизия
4ee9c948f7
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  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(() => {