mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-22 19:35:12 +00:00
Fix bug
This commit is contained in:
parent
ae2021583d
commit
8d77e2ba22
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