소스 검색

全选状态下,取消一个选中,重置全选状态

yejian 2 년 전
부모
커밋
e0cce161c1
3개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/views/Ranking/FusionNumberManuscript.vue
  2. 1 0
      src/views/Ranking/FusionVermicelli.vue
  3. 1 0
      src/views/Ranking/ManuscriptQuantity.vue

+ 1 - 0
src/views/Ranking/FusionNumberManuscript.vue

@@ -61,6 +61,7 @@ export default {
     handleClick(e) {
       if(this.btnFocus.includes(e) && this.btnFocus.length!==1){
         this.btnFocus = this.btnFocus.filter((v)=>{return v!==e});
+        this.checkedAll = false;
       }else if(!this.btnFocus.includes(e)){
         this.btnFocus.push(e);
       }

+ 1 - 0
src/views/Ranking/FusionVermicelli.vue

@@ -64,6 +64,7 @@ export default {
     handleClick(e) {
       if(this.btnFocus.includes(e) && this.btnFocus.length!==1){
         this.btnFocus = this.btnFocus.filter((v)=>{return v!==e});
+        this.checkedAll = false;
       }else if(!this.btnFocus.includes(e)){
         this.btnFocus.push(e);
       }

+ 1 - 0
src/views/Ranking/ManuscriptQuantity.vue

@@ -63,6 +63,7 @@ export default {
         this.btnFocus = this.btnFocus.filter((v) => {
           return v !== e;
         });
+        this.checkedAll = false;
       } else if (!this.btnFocus.includes(e)) {
         this.btnFocus.push(e);
       }