xiaoguang_li 1 сар өмнө
parent
commit
0bc617982d

+ 1 - 1
desktop/core/src/desktop/templates/assist.mako

@@ -2902,7 +2902,7 @@ from desktop.views import _ko
         // 判断是否“接近底部”(允许 2px 误差)
         // 判断是否“接近底部”(允许 2px 误差)
         const isAtBottom = container.scrollHeight - container.scrollTop <= container.clientHeight + 2;
         const isAtBottom = container.scrollHeight - container.scrollTop <= container.clientHeight + 2;
 
 
-        if (isAtBottom) {
+        if (true) {
           if (container.scroll) {
           if (container.scroll) {
             // 或平滑滚动:
             // 或平滑滚动:
             container.scroll({ top: container.scrollHeight, behavior: 'smooth' });
             container.scroll({ top: container.scrollHeight, behavior: 'smooth' });