Cleanup
This commit is contained in:
parent
b2a43cc946
commit
7b50b77267
1 changed files with 0 additions and 16 deletions
|
@ -37,7 +37,6 @@ export default {
|
||||||
return this.search.length >= 3 ? 'sortScore' : this.sortBy
|
return this.search.length >= 3 ? 'sortScore' : this.sortBy
|
||||||
},
|
},
|
||||||
pagedSpells () {
|
pagedSpells () {
|
||||||
debugger
|
|
||||||
return new Query(this.filteredSpells)
|
return new Query(this.filteredSpells)
|
||||||
.paginate(1, this.loadedPage * 20)
|
.paginate(1, this.loadedPage * 20)
|
||||||
.results
|
.results
|
||||||
|
@ -51,7 +50,6 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
loadMore (index) {
|
loadMore (index) {
|
||||||
console.log('load more!', index)
|
|
||||||
this.loadedPage += index
|
this.loadedPage += index
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -62,17 +60,3 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="stylus">
|
|
||||||
.spell-list
|
|
||||||
width: 100%
|
|
||||||
th
|
|
||||||
a
|
|
||||||
display: inline-block
|
|
||||||
padding: 1em 0
|
|
||||||
&.sort-level
|
|
||||||
padding-left: 1em
|
|
||||||
width: 5em
|
|
||||||
&.sort-name
|
|
||||||
padding-left: 1em
|
|
||||||
</style>
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue