mirror of
https://github.com/romancm/gamebrary
synced 2024-11-27 13:40:48 +00:00
added set timeout to watchers
This commit is contained in:
parent
a286a10a17
commit
b12f527e1a
1 changed files with 12 additions and 0 deletions
|
@ -199,14 +199,26 @@ export default {
|
|||
watch: {
|
||||
view() {
|
||||
this.initGrid();
|
||||
|
||||
setTimeout(() => {
|
||||
this.initGrid();
|
||||
}, 500);
|
||||
},
|
||||
|
||||
games() {
|
||||
this.initGrid();
|
||||
|
||||
setTimeout(() => {
|
||||
this.initGrid();
|
||||
}, 500);
|
||||
},
|
||||
|
||||
editing() {
|
||||
this.initGrid();
|
||||
|
||||
setTimeout(() => {
|
||||
this.initGrid();
|
||||
}, 500);
|
||||
},
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue