This commit is contained in:
syuilo 2020-02-19 17:55:55 +09:00
parent ae2021583d
commit 8d77e2ba22

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