From f8c0e9b318d946439e9bd1584eae1fa932af6d96 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期五, 17 十一月 2023 16:32:38 +0800 Subject: [PATCH] 未生产中的完成进度显示0 因为plc 有数据 修改为可以显示数据 --- src/views/dashboard/index.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index 28099f1..f4cff31 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -38,7 +38,7 @@ <Loading /> </el-icon> - <div v-if="!craftModelStore.hasMore">鍔犺浇瀹屾垚</div> + <div v-if="!craftModelStore.hasMore && craftModelStore.craftModelList.length > 6">鍔犺浇瀹屾垚</div> </div> </el-scrollbar> </div> @@ -202,13 +202,14 @@ message: '鏇存柊鎴愬姛锛�', type: 'success' }) + craftModelStore.getCraftModelList() } }, (err) => { console.error(err, '----err') setTimeout(() => { editActive(craftModel) - }, 500) + }, 300) } ) } -- Gitblit v1.8.0