xiaoguang_li 8 сар өмнө
parent
commit
177dc1b905

+ 2 - 0
desktop/core/src/desktop/templates/assist.mako

@@ -2861,7 +2861,9 @@ from desktop.views import _ko
       ChatPanel.prototype.ask = function (data, event) {
         let self = this;
         if (event.key === 'Enter' || event.keyCode === 13) {
+          event.preventDefault();
           self.answer();
+          return false;
         }
         return true;
       };