Fix(AI):[#3600]键盘弹出后,开启新对话,及键盘底部会被遮挡一部分

This commit is contained in:
lifizer
2025-04-07 22:57:59 +08:00
parent 230e163c53
commit 67c94d814c
5 changed files with 37 additions and 12 deletions
+8 -2
View File
@@ -141,10 +141,16 @@ export default {
},
methods: {
promptInputFocusHandle() {
this.inputOnFocus = true
setTimeout(() => {
this.inputOnFocus = true
this.$emit('focus', 1)
}, 200)
},
promptInputBlurHandle() {
this.inputOnFocus = false
setTimeout(() => {
this.inputOnFocus = false
this.$emit('focus', 0)
}, 200)
},
toggleInputModel() {
if (!this.token) {