提交 291a5cdd authored 作者: lihuihui's avatar lihuihui

意见反馈优化

上级 6e44d553
...@@ -21,6 +21,10 @@ export default { ...@@ -21,6 +21,10 @@ export default {
[Toast.name]: Toast [Toast.name]: Toast
}, },
mounted() { mounted() {
const resizeHeight = document.body.clientHeight
window.addEventListener('resize', () => {
document.body.clientHeight === resizeHeight ? this.showBtn = true : this.showBtn = false
})
}, },
data() { data() {
return { return {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论