From 23bcd91dfde53ac3e937fd90280f26d374c50833 Mon Sep 17 00:00:00 2001 From: XiaoRuby <3114200645@qq.com> Date: 星期三, 09 八月 2023 11:26:49 +0800 Subject: [PATCH] Crunchy接手 --- src/view/index.vue | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/view/index.vue b/src/view/index.vue index 67a9dbd..b3129ef 100644 --- a/src/view/index.vue +++ b/src/view/index.vue @@ -297,12 +297,12 @@ k: 4, v: "鍘熸潗鏂欎笉鍚堟牸鍝�", i: "font icon-shouye", - u: "" + u: "rawUnqualifiedBox" }, { k: 5, v: "杩囩▼妫�楠�", i: "font icon-shouye", - u: "" + u: "processInspection" }, { k: 6, v: "鎴愬搧妫�楠�", @@ -312,7 +312,7 @@ k: 7, v: "涓嶅悎鏍煎搧绠$悊", i: "font icon-shouye", - u: "" + u: "unqualifiedManagement" }, { k: 8, v: "瀹為獙瀹ょ鐞�", @@ -349,14 +349,15 @@ methods: { addTab(ob) { if (ob.k == 0) this.activeBox = 0 - this.activeP = ob.k - this.tabActive = ob.k + this.activeP = ob.k //0 + this.tabActive = ob.k //0 let num = -1; this.tabs.forEach((a, ai) => { if (ob.k == a.k) { num = a.k } }) + // 濡傛灉娌℃湁閬嶅巻鍒皌abs閲屾病鏈夎ob瀵瑰簲鐨則able锛屽線tabs閲岄潰鍔犲叆璇b if (num == -1) { this.tabs.push(ob) } @@ -388,4 +389,4 @@ } } } -</script> \ No newline at end of file +</script> -- Gitblit v1.9.3