fix
This commit is contained in:
@@ -66,6 +66,8 @@ export default {
|
||||
}
|
||||
},
|
||||
setPlaceHolder () {
|
||||
this.showPlaceHolder = true
|
||||
|
||||
const instanceRect = this.getInstanceRect()
|
||||
this.stylePlaceHolder = {
|
||||
width: instanceRect.width,
|
||||
@@ -76,8 +78,6 @@ export default {
|
||||
if (this.defaultInstancePosition < this.offsetTop) {
|
||||
this.setFixedForInstance()
|
||||
|
||||
this.showPlaceHolder = true
|
||||
|
||||
this.setPlaceHolder()
|
||||
}
|
||||
|
||||
@@ -96,6 +96,7 @@ export default {
|
||||
|
||||
if (isArrivalDefault && this.affixStyle.position === 'fixed') {
|
||||
this.affixStyle = {}
|
||||
this.showPlaceHolder = false
|
||||
this.stylePlaceHolder = {}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user