This commit is contained in:
syuilo 2020-02-19 17:55:55 +09:00
parent bd22f84241
commit 6e4e293bc0

View file

@ -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;
},