fix vue warnings
This commit is contained in:
parent
a3948ccb8e
commit
392eeed286
13
src/App.vue
13
src/App.vue
@ -16,11 +16,7 @@
|
|||||||
<Breadcrumb title="Home" href="/" />
|
<Breadcrumb title="Home" href="/" />
|
||||||
<Breadcrumb title="Top" href="/Top" />
|
<Breadcrumb title="Top" href="/Top" />
|
||||||
</Breadcrumbs>
|
</Breadcrumbs>
|
||||||
<Table
|
<Table :station-data="tableData" />
|
||||||
: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" />
|
|
||||||
</AppContent>
|
</AppContent>
|
||||||
</Content>
|
</Content>
|
||||||
</template>
|
</template>
|
||||||
@ -62,10 +58,9 @@ export default {
|
|||||||
},
|
},
|
||||||
scroll() {
|
scroll() {
|
||||||
window.onscroll = () => {
|
window.onscroll = () => {
|
||||||
const bottomOfWindow = document.documentElement.scrollTop + window.innerHeight === document.documentElement.offsetHeight
|
if ((window.innerHeight + window.scrollY) >= document.body.scrollHeight) {
|
||||||
if (bottomOfWindow) {
|
this.loadStations()
|
||||||
console.log('test')
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -22,10 +22,10 @@
|
|||||||
</td>
|
</td>
|
||||||
<td class="actionColumn">
|
<td class="actionColumn">
|
||||||
<Actions>
|
<Actions>
|
||||||
<ActionButton icon="icon-star" :close-after-click="true" @click="onFavorite">
|
<ActionButton icon="icon-star" :close-after-click="true">
|
||||||
Add to favorites
|
Add to favorites
|
||||||
</ActionButton>
|
</ActionButton>
|
||||||
<ActionButton icon="icon-info" :close-after-click="true" @click="onDetails">
|
<ActionButton icon="icon-info" :close-after-click="true">
|
||||||
Details
|
Details
|
||||||
</ActionButton>
|
</ActionButton>
|
||||||
</Actions>
|
</Actions>
|
||||||
|
Loading…
Reference in New Issue
Block a user