zhangjie 2 年之前
父節點
當前提交
fb7527bc95
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/modules/client/views/TaskManage.vue

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

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