Browse Source

添加ai对话框

xiaoguang_li 1 month ago
parent
commit
6bd7e6fb5d
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

@@ -2873,7 +2873,7 @@ from desktop.views import _ko
         self.messages.push({type:'user', content: self.query().trim()});
         self.messages.push({type:'ai', content: '感谢提问!我已经收到你的消息:' + self.query().trim()});
 
-        self.query = '';
+        self.query('');
       };
 
       ChatPanel.prototype.initFunctions = function (dialect) {