Browse Source

日报分享

zhujindu 6 months ago
parent
commit
4ee9c948f7
1 changed files with 3 additions and 3 deletions
  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.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(() => {
             // requestAnimationFrame(() => {