This commit is contained in:
syuilo 2020-02-19 17:55:55 +09:00
parent ae2021583d
commit 8d77e2ba22
1 changed files with 5 additions and 1 deletions

View File

@ -98,6 +98,10 @@ export default Vue.extend({
} }
}, },
mounted() {
this.width = this.$el.offsetWidth
},
methods: { methods: {
before() { before() {
Progress.start(); Progress.start();
@ -108,7 +112,7 @@ export default Vue.extend({
}, },
queueUpdated(q) { queueUpdated(q) {
this.width = this.$el.offsetWidth; if (this.$el.offsetWidth !== 0) this.width = this.$el.offsetWidth;
this.queue = q; this.queue = q;
}, },