Parcourir la source

添加ai对话框

xiaoguang_li il y a 4 mois
Parent
commit
0bc617982d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 误差)
         // 判断是否“接近底部”(允许 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' });