mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-10-30 13:14:20 +00:00
tooltips créatures
This commit is contained in:
parent
37e28207f0
commit
e15a84fa0e
7 changed files with 281 additions and 5 deletions
|
|
@ -220,6 +220,15 @@ export default {
|
|||
changePage (page) {
|
||||
// console.log(page)
|
||||
setUrlParams("page", [page])
|
||||
let self = this
|
||||
setTimeout(function () {
|
||||
handleTooltips({pages:self.$site.pages})
|
||||
}, 100);
|
||||
this.$router.afterEach(() => {
|
||||
setTimeout(function () {
|
||||
handleTooltips({pages:self.$site.pages})
|
||||
}, 100)
|
||||
})
|
||||
},
|
||||
|
||||
onClickRow (row, item) {
|
||||
|
|
@ -240,6 +249,16 @@ export default {
|
|||
if (page) {
|
||||
this.page = page
|
||||
}
|
||||
|
||||
let self = this
|
||||
setTimeout(function () {
|
||||
handleTooltips({pages:self.$site.pages})
|
||||
}, 100);
|
||||
this.$router.afterEach(() => {
|
||||
setTimeout(function () {
|
||||
handleTooltips({pages:self.$site.pages})
|
||||
}, 100)
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ import { mapState } from 'vuex'
|
|||
import Breadcrumb from '@theme/components/Breadcrumb'
|
||||
import { displayChallenge } from '@theme/util/monsterHelpers'
|
||||
import { setUrlParams, getUrlParameter } from '@theme/util/filterHelpers'
|
||||
import { isResourceInLibrary } from '@theme/util'
|
||||
import { isResourceInLibrary, handleTooltips } from '@theme/util'
|
||||
import Monster from '@theme/components/Monster'
|
||||
import MyMonstersButton from '@theme/global-components/MyMonstersButton'
|
||||
import { CHALLENGES } from '../../data/monsters'
|
||||
|
|
@ -387,6 +387,15 @@ export default {
|
|||
changePage (page) {
|
||||
// console.log(page)
|
||||
setUrlParams("page", [page])
|
||||
let self = this
|
||||
setTimeout(function () {
|
||||
handleTooltips({pages:self.$site.pages})
|
||||
}, 100);
|
||||
this.$router.afterEach(() => {
|
||||
setTimeout(function () {
|
||||
handleTooltips({pages:self.$site.pages})
|
||||
}, 100)
|
||||
})
|
||||
},
|
||||
|
||||
onClickRow (row, item) {
|
||||
|
|
@ -416,6 +425,16 @@ export default {
|
|||
if (showColumn) {
|
||||
this.showColumn = JSON.parse(showColumn)
|
||||
}
|
||||
|
||||
let self = this
|
||||
setTimeout(function () {
|
||||
handleTooltips({pages:self.$site.pages})
|
||||
}, 100);
|
||||
this.$router.afterEach(() => {
|
||||
setTimeout(function () {
|
||||
handleTooltips({pages:self.$site.pages})
|
||||
}, 100)
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -385,6 +385,15 @@ export default {
|
|||
changePage (page) {
|
||||
// console.log(page)
|
||||
setUrlParams("page", [page])
|
||||
let self = this
|
||||
setTimeout(function () {
|
||||
handleTooltips({pages:self.$site.pages})
|
||||
}, 100);
|
||||
this.$router.afterEach(() => {
|
||||
setTimeout(function () {
|
||||
handleTooltips({pages:self.$site.pages})
|
||||
}, 100)
|
||||
})
|
||||
},
|
||||
|
||||
onClickRow (row, item) {
|
||||
|
|
@ -425,6 +434,16 @@ export default {
|
|||
if (showColumn) {
|
||||
this.showColumn = JSON.parse(showColumn)
|
||||
}
|
||||
|
||||
let self = this
|
||||
setTimeout(function () {
|
||||
handleTooltips({pages:self.$site.pages})
|
||||
}, 100);
|
||||
this.$router.afterEach(() => {
|
||||
setTimeout(function () {
|
||||
handleTooltips({pages:self.$site.pages})
|
||||
}, 100)
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue