Преглед на файлове

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

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);
       }