zhangjie 2 éve
szülő
commit
c60764194a
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      src/modules/client/views/TaskManage.vue

+ 2 - 2
src/modules/client/views/TaskManage.vue

@@ -97,7 +97,7 @@
         >
           <template slot-scope="scope">
             <el-button
-              v-if="scope.row.enable"
+              v-if="!scope.row.enable"
               class="btn-primary"
               type="text"
               @click="toScan(scope.row)"
@@ -217,7 +217,7 @@ export default {
       }
     },
     toScan(row) {
-      if (!row.enable) return;
+      if (row.enable) return;
       this.curRow = row;
       this.$refs.ScanTaskProcessDialog.open();
     },