fixed modalcard lazy load
This commit is contained in:
@@ -131,6 +131,9 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
beforeMount () {
|
||||
console.log(this.item.id, this.samples)
|
||||
},
|
||||
methods: {
|
||||
...mapActions({
|
||||
// refreshItem: 'Search/refreshItem',
|
||||
|
@@ -421,9 +421,9 @@ export default {
|
||||
}
|
||||
// delay the lazyload to let the card the time to update dom
|
||||
// maybe not the best method
|
||||
setTimeout(function () {
|
||||
this.activateLazyLoad()
|
||||
}.bind(this), 5)
|
||||
// setTimeout(function () {
|
||||
// this.activateLazyLoad()
|
||||
// }.bind(this), 5)
|
||||
})
|
||||
.catch(error => {
|
||||
console.warn('Issue with loadMaterial', error)
|
||||
|
Reference in New Issue
Block a user