zhujindu 6 ヶ月 前
コミット
c5b21a439a
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(() => {