From 305b8976e9ad666e52c157ebc79f05c2fe03d1ff Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期二, 05 九月 2023 16:46:42 +0800
Subject: [PATCH] 	modified:   src/components/experiment/checkTheReport/index.vue 	modified:   src/views/laboratory/ledger/index.vue 	modified:   src/views/standardLibrary/index.vue

---
 src/components/experiment/checkTheReport/index.vue |   26 ++++++++++++--------------
 1 files changed, 12 insertions(+), 14 deletions(-)

diff --git a/src/components/experiment/checkTheReport/index.vue b/src/components/experiment/checkTheReport/index.vue
index cbcf0f9..4c71e6d 100644
--- a/src/components/experiment/checkTheReport/index.vue
+++ b/src/components/experiment/checkTheReport/index.vue
@@ -83,20 +83,18 @@
 		},
 		mounted() {
 			this.arr = this.reportData.products;
-			if(this.reportData.length>0){
-				if (this.reportData.products.length < 10) {
-					let size = this.reportData.products.length;
-					let num = 10 - size
-					for (let i = 0; i < num; i++) {
-						this.arr.push({
-							code: null,
-							ipName: "",
-							required: "",
-							testState: null,
-							testValue: "",
-							unit: ""
-						})
-					}
+			if (this.reportData.products.length < 10) {
+				let size = this.reportData.products.length;
+				let num = 10 - size
+				for (let i = 0; i < num; i++) {
+					this.arr.push({
+						code: null,
+						ipName: "",
+						required: "",
+						testState: null,
+						testValue: "",
+						unit: ""
+					})
 				}
 			}
 		},

--
Gitblit v1.9.3