mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-12-17 15:40:37 +00:00
déclenchement des tooltips après avoir filtré
This commit is contained in:
parent
c266c54ae0
commit
bf9666fd76
4 changed files with 30 additions and 33 deletions
|
|
@ -197,6 +197,15 @@ export default {
|
|||
}
|
||||
},
|
||||
|
||||
watch: {
|
||||
magicItems: function (newMagicItems, oldMagicItems) {
|
||||
let self = this
|
||||
setTimeout(function () {
|
||||
handleTooltips({pages:self.$site.pages})
|
||||
}, 100);
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
isItemInTreasureChest (magicItem) {
|
||||
return isResourceInLibrary(magicItem, this.$store.state.myMagicItems.magicItems)
|
||||
|
|
@ -219,11 +228,6 @@ export default {
|
|||
setTimeout(function () {
|
||||
handleTooltips({pages:self.$site.pages})
|
||||
}, 100);
|
||||
this.$router.afterEach(() => {
|
||||
setTimeout(function () {
|
||||
handleTooltips({pages:self.$site.pages})
|
||||
}, 100)
|
||||
})
|
||||
},
|
||||
|
||||
changePage (page) {
|
||||
|
|
@ -233,11 +237,6 @@ export default {
|
|||
setTimeout(function () {
|
||||
handleTooltips({pages:self.$site.pages})
|
||||
}, 100);
|
||||
this.$router.afterEach(() => {
|
||||
setTimeout(function () {
|
||||
handleTooltips({pages:self.$site.pages})
|
||||
}, 100)
|
||||
})
|
||||
},
|
||||
|
||||
onClickRow (row, item) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue