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) {