From 447e19fa298ae11a1c3a3fa2d2ff3a1a8dba0501 Mon Sep 17 00:00:00 2001 From: zhangwei <1504152376@qq.com> Date: 星期四, 29 八月 2024 17:15:29 +0800 Subject: [PATCH] - --- src/pages/checkin/checkin.vue | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/pages/checkin/checkin.vue b/src/pages/checkin/checkin.vue index b5d2da5..31f3f25 100644 --- a/src/pages/checkin/checkin.vue +++ b/src/pages/checkin/checkin.vue @@ -73,13 +73,18 @@ this.$api.getDaka({ orderId: id }).then(res => { - if(res.code==1){ + if (res.code == 1) { this.dakaList = res.data.orderBiddingDetailCheck - this.dakaList.length = 3 + if (this.dakaList.length == 0) { + this.dakaList.length = 2 + } + if (this.dakaList.length > 6) { + this.dakaList.length = 6 + } if (this.dakaList.length % 2 !== 0) { this.dakaList.push({}) } - }else{ + } else { this.$util.showToast({ title: res.error }) @@ -162,6 +167,8 @@ title: "鎵撳崱鎴愬姛锛�", icon: "success" }) + this.checkPhoto = '' //鎵撳崱鐓х墖 + this.faceImg = '' this.getDaka(this.orderBiddingId) } else { this.$util.showToast({ -- Gitblit v1.9.1