|
@@ -114,6 +114,9 @@ const onSend = (text = '') => {
|
|
|
content: state.params.query + ''
|
|
|
}
|
|
|
state.chats.push(ask)
|
|
|
+ const floatingDiv = ref_auto.value
|
|
|
+ floatingDiv.style.visibility = 'hidden';
|
|
|
+ floatingDiv.style.display = 'flex';
|
|
|
const answer = reactive({
|
|
|
type: 'answer',
|
|
|
content: '',
|
|
@@ -269,7 +272,7 @@ const onNormal = (item) => {
|
|
|
}
|
|
|
const initTextHandle = () => {
|
|
|
let debounceTimer;
|
|
|
- const DEBOUNCE_TIME = 300;
|
|
|
+ const DEBOUNCE_TIME = 500;
|
|
|
const textarea = ref_text.value
|
|
|
const floatingDiv = ref_auto.value
|
|
|
|