mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 11:57:34 -07:00
Fix bug
This commit is contained in:
parent
bd22f84241
commit
6e4e293bc0
1 changed files with 5 additions and 1 deletions
|
@ -98,6 +98,10 @@ export default Vue.extend({
|
|||
}
|
||||
},
|
||||
|
||||
mounted() {
|
||||
this.width = this.$el.offsetWidth
|
||||
},
|
||||
|
||||
methods: {
|
||||
before() {
|
||||
Progress.start();
|
||||
|
@ -108,7 +112,7 @@ export default Vue.extend({
|
|||
},
|
||||
|
||||
queueUpdated(q) {
|
||||
this.width = this.$el.offsetWidth;
|
||||
if (this.$el.offsetWidth !== 0) this.width = this.$el.offsetWidth;
|
||||
this.queue = q;
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue