diff --git a/src/components/panels/Status/Gcodefiles.vue b/src/components/panels/Status/Gcodefiles.vue index 2041e770..540c9f7d 100644 --- a/src/components/panels/Status/Gcodefiles.vue +++ b/src/components/panels/Status/Gcodefiles.vue @@ -402,7 +402,9 @@ export default class StatusPanelGcodefiles extends Mixins(BaseMixin, ControlMixi } mounted() { - this.calcContentTdWidth() + setTimeout(() => { + this.calcContentTdWidth() + }, 200) } calcContentTdWidth() { diff --git a/src/components/panels/Status/Jobqueue.vue b/src/components/panels/Status/Jobqueue.vue index c9b87525..4e8a76f9 100644 --- a/src/components/panels/Status/Jobqueue.vue +++ b/src/components/panels/Status/Jobqueue.vue @@ -254,7 +254,9 @@ export default class StatusPanelJobqueue extends Mixins(BaseMixin) { } mounted() { - this.calcContentTdWidth() + setTimeout(() => { + this.calcContentTdWidth() + }, 200) } calcContentTdWidth() {