From 34257f504330191b1a698eb48b52217095db47fe Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期一, 04 九月 2023 18:10:46 +0800 Subject: [PATCH] 扬尘vue --- src/sfc/ExceptionType.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/sfc/ExceptionType.vue b/src/sfc/ExceptionType.vue index c11f5d4..4a1170b 100644 --- a/src/sfc/ExceptionType.vue +++ b/src/sfc/ExceptionType.vue @@ -32,8 +32,14 @@ // this.exceptionType = response.data.data response.data.data.forEach(item => { this.exceptionType.push(item.exceptionType) + }); - console.log(this.exceptionType); + let a = ['0','1','2','3','4','5','6','7'] + a.forEach(item=>{ + if(this.exceptionType.indexOf(item) == -1){ + this.exceptionType.push(item) + } + }) }) }, handleCheckAllChange (val) { -- Gitblit v1.9.3