From b28265914d1b30df88a35e34c7443c61a96f4b24 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期四, 13 七月 2023 16:49:28 +0800 Subject: [PATCH] # --- pages/AGV/AGVPakinOn.vue | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/pages/AGV/AGVPakinOn.vue b/pages/AGV/AGVPakinOn.vue index 753ae47..883599e 100644 --- a/pages/AGV/AGVPakinOn.vue +++ b/pages/AGV/AGVPakinOn.vue @@ -389,6 +389,9 @@ this.count = value }, combConfirm(type) { + if (this.dataList.length < 1) { + return + } this.msgType = type this.title = '璀﹀憡' this.content = '鏄惁鐜板湪缁勬墭!' @@ -484,6 +487,9 @@ }, // 鍚姩鍏ュ簱 agvStart(type) { + if (this.dataList.length < 1) { + return + } this.msgType = type this.title = '璀﹀憡' this.content = '鏄惁鐜板湪鍚姩鍏ュ簱!' -- Gitblit v1.9.1