Fix(AI):[#3600]键盘弹出后,开启新对话,及键盘底部会被遮挡一部分
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user