浏览代码

添加ai对话框

xiaoguang_li 4 月之前
父节点
当前提交
0bc617982d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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' });