Explorar el Código

loading添加duration: 0

Kevin Jiang hace 2 años
padre
commit
9d3a326283
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/report/components/ChapterEditor.vue

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

@@ -144,7 +144,7 @@ function notifyRepetitiveWarning(data: boolean){
 }
 
 function test1() {
-  const loadingHandler = message.loading({content: 'AI正在撰写章节内容,请稍等……'})
+  const loadingHandler = message.loading({content: 'AI正在撰写章节内容,请稍等……', duration: 0})
   const prompt = `根据R&D报告的标题、章节标题和关键词续写章节内容:\n` +
             `标题:${props.title}\n`+
             `章节标题:${props.data.title}\n关键词:${props.data.keywords}\n续写:`