浏览代码

处理冒号

Kevin Jiang 2 年之前
父节点
当前提交
18dc3596fa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/report/components/ChapterEditor.vue

+ 1 - 1
src/views/report/components/ChapterEditor.vue

@@ -145,7 +145,7 @@ function notifyRepetitiveWarning(data: boolean){
 function test1() {
   const prompt = `根据R&D报告的标题、章节标题和关键词续写章节内容:\n` +
             `标题:${props.title}\n`+
-            `章节标题:${props.data.title}\n关键词:${props.data.keywords}\n续写`
+            `章节标题:${props.data.title}\n关键词:${props.data.keywords}\n续写`
   testService.test1(prompt).then((resp) => {
     onContentChange(resp)
   }).catch((err) => {