Commit 6f34e302 by qinjianhui

fix: 排版轮询

parent 95baa638
...@@ -86,7 +86,9 @@ export default { ...@@ -86,7 +86,9 @@ export default {
<router-view v-if="activeName === 'DTG'"></router-view> <router-view v-if="activeName === 'DTG'"></router-view>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="DTF生产" name="DTF"> <el-tab-pane label="DTF生产" name="DTF">
<router-view v-if="activeName === 'DTF'"></router-view> <keep-alive include="design-dtf">
<router-view v-if="activeName === 'DTF'"></router-view>
</keep-alive>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
<update-dialog ref="updateDialog" /> <update-dialog ref="updateDialog" />
......
...@@ -140,6 +140,9 @@ export default { ...@@ -140,6 +140,9 @@ export default {
// 初始化同步状态 // 初始化同步状态
await this.syncStatus(); await this.syncStatus();
}, },
activated() {
this.fetchBatchList(this.searchForm);
},
beforeDestroy() { beforeDestroy() {
if (this.removeStatusListener) this.removeStatusListener(); if (this.removeStatusListener) this.removeStatusListener();
if (this.removeListener) this.removeListener(); if (this.removeListener) this.removeListener();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment