eslint: enable console
This commit is contained in:
parent
610953fc1b
commit
a3948ccb8e
@ -2,4 +2,7 @@ module.exports = {
|
||||
extends: [
|
||||
'@nextcloud',
|
||||
],
|
||||
rules: {
|
||||
'no-console': 'off',
|
||||
},
|
||||
}
|
||||
|
@ -50,6 +50,7 @@ export default {
|
||||
}),
|
||||
mounted() {
|
||||
this.loadStations()
|
||||
this.scroll()
|
||||
},
|
||||
methods: {
|
||||
loadStations() {
|
||||
@ -59,6 +60,14 @@ export default {
|
||||
vm.tableData = data
|
||||
})
|
||||
},
|
||||
scroll() {
|
||||
window.onscroll = () => {
|
||||
const bottomOfWindow = document.documentElement.scrollTop + window.innerHeight === document.documentElement.offsetHeight
|
||||
if (bottomOfWindow) {
|
||||
console.log('test')
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user