键盘高度计算,改善聊天页面内容少的时候推屏的问题,但是有点卡断

This commit is contained in:
2022-02-28 12:15:11 +08:00
parent e8e496cf37
commit bf94cca533
5 changed files with 67 additions and 23 deletions

View File

@@ -12,6 +12,9 @@ export default {
},
sender() {
return this.$store.getters.sender
},
windowHeight() {
return uni.getSystemInfoSync().windowHeight
}
},
methods: {