Browse Source

添加ai对话框

xiaoguang_li 1 month ago
parent
commit
0bc617982d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      desktop/core/src/desktop/templates/assist.mako

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

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