fix vue warnings
This commit is contained in:
parent
a3948ccb8e
commit
392eeed286
11
src/App.vue
11
src/App.vue
@ -16,11 +16,7 @@
|
||||
<Breadcrumb title="Home" href="/" />
|
||||
<Breadcrumb title="Top" href="/Top" />
|
||||
</Breadcrumbs>
|
||||
<Table
|
||||
:station-data="tableData"
|
||||
station-uuid="960b6cd6-0601-11e8-ae97-52543be04c81"
|
||||
station-isfav="false"
|
||||
station-img="https://upload.wikimedia.org/wikipedia/commons/thumb/a/ad/Radio_SRF_Virus.svg/205px-Radio_SRF_Virus.svg.png" />
|
||||
<Table :station-data="tableData" />
|
||||
</AppContent>
|
||||
</Content>
|
||||
</template>
|
||||
@ -62,9 +58,8 @@ export default {
|
||||
},
|
||||
scroll() {
|
||||
window.onscroll = () => {
|
||||
const bottomOfWindow = document.documentElement.scrollTop + window.innerHeight === document.documentElement.offsetHeight
|
||||
if (bottomOfWindow) {
|
||||
console.log('test')
|
||||
if ((window.innerHeight + window.scrollY) >= document.body.scrollHeight) {
|
||||
this.loadStations()
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -22,10 +22,10 @@
|
||||
</td>
|
||||
<td class="actionColumn">
|
||||
<Actions>
|
||||
<ActionButton icon="icon-star" :close-after-click="true" @click="onFavorite">
|
||||
<ActionButton icon="icon-star" :close-after-click="true">
|
||||
Add to favorites
|
||||
</ActionButton>
|
||||
<ActionButton icon="icon-info" :close-after-click="true" @click="onDetails">
|
||||
<ActionButton icon="icon-info" :close-after-click="true">
|
||||
Details
|
||||
</ActionButton>
|
||||
</Actions>
|
||||
|
Loading…
Reference in New Issue
Block a user