|
@@ -109,7 +109,7 @@
|
|
扫描
|
|
扫描
|
|
</el-button>
|
|
</el-button>
|
|
<el-button
|
|
<el-button
|
|
- v-if="scope.row.scanCount && scope.row.clientScanCount"
|
|
|
|
|
|
+ v-if="!scope.row.scanCount && scope.row.clientScanCount"
|
|
class="btn-danger"
|
|
class="btn-danger"
|
|
type="text"
|
|
type="text"
|
|
@click="toClean(scope.row)"
|
|
@click="toClean(scope.row)"
|
|
@@ -286,7 +286,7 @@ export default {
|
|
row.enable = !row.enable;
|
|
row.enable = !row.enable;
|
|
},
|
|
},
|
|
async toClean(row) {
|
|
async toClean(row) {
|
|
- if (!row.clientScanCount || !row.scanCount) return;
|
|
|
|
|
|
+ if (!(row.clientScanCount && !row.scanCount)) return;
|
|
|
|
|
|
this.$parent.$parent.stopUpload();
|
|
this.$parent.$parent.stopUpload();
|
|
|
|
|