diff --git a/src/components/chat/AnsweringMark.vue b/src/components/chat/AnsweringMark.vue index c446551d..7392da8f 100644 --- a/src/components/chat/AnsweringMark.vue +++ b/src/components/chat/AnsweringMark.vue @@ -6,7 +6,7 @@ import { defineComponent } from 'vue'; export default defineComponent({ - name: 'AnwseringMark', + name: 'AnsweringMark', data() { return {}; }, diff --git a/src/components/chat/InputBox.vue b/src/components/chat/InputBox.vue index 955d2dfd..c9da8244 100644 --- a/src/components/chat/InputBox.vue +++ b/src/components/chat/InputBox.vue @@ -102,7 +102,9 @@ export default defineComponent({ this.$emit('update:question', val); }, question(val: string) { - this.questionValue = val; + if (val !== this.questionValue) { + this.questionValue = val; + } }, references(val: string[]) { if (val.length === 0) { diff --git a/src/components/chat/Introduction.vue b/src/components/chat/Introduction.vue index b8306219..e0e436b1 100644 --- a/src/components/chat/Introduction.vue +++ b/src/components/chat/Introduction.vue @@ -1,45 +1,68 @@