尝试修复滚动占位

This commit is contained in:
wangwenzhang
2020-04-04 21:04:30 +08:00
parent b324df8e90
commit d53c6fe002
3 changed files with 5 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@hoc-element/affix",
"version": "0.0.3",
"version": "0.0.4",
"main": "lib/hoc-el-affix.js",
"description": "📌 Affix 将页面元素固定在可视范围内。",
"author": "Wisdom <pdsu.wwz@foxmail.com>",

View File

@@ -70,8 +70,8 @@ export default {
const instanceRect = this.getInstanceRect()
this.stylePlaceHolder = {
width: instanceRect.width,
height: instanceRect.height,
width: `${instanceRect.width}px`,
height: `${instanceRect.height}px`
}
},
beforeListener () {

View File

@@ -9,7 +9,7 @@ if (typeof window !== 'undefined' && window.Vue) {
}
export default {
version: '0.0.3',
version: '0.0.4',
install,
HocElAffix
}