fix(接口定义): 优化保存用例后窗口关闭问题

This commit is contained in:
fit2-zhao 2021-06-07 14:38:09 +08:00 committed by fit2-zhao
parent 3182e52b4f
commit 3fb8a25f44
1 changed files with 0 additions and 10 deletions

View File

@ -28,11 +28,6 @@
sortable> sortable>
<template slot-scope="scope"> <template slot-scope="scope">
<!-- 判断为只读用户的话不可点击ID进行编辑操作 -->
<!--<span style="cursor:pointer" v-if="isReadOnly"> {{ scope.row.num }} </span>-->
<!--<el-tooltip v-else content="编辑">-->
<!--<a style="cursor:pointer" @click="editApi(scope.row)"> {{ scope.row.num }} </a>-->
<!--</el-tooltip>-->
<el-tooltip content="编辑"> <el-tooltip content="编辑">
<a style="cursor:pointer" @click="editApi(scope.row)"> {{ scope.row.num }} </a> <a style="cursor:pointer" @click="editApi(scope.row)"> {{ scope.row.num }} </a>
</el-tooltip> </el-tooltip>
@ -451,11 +446,6 @@ export default {
if (this.$refs.apiDefinitionTable) { if (this.$refs.apiDefinitionTable) {
this.$refs.apiDefinitionTable.clearSelectRows(); this.$refs.apiDefinitionTable.clearSelectRows();
} }
//
if(this.$refs.caseList){
this.$refs.caseList.handleClose();
}
initCondition(this.condition, this.condition.selectAll); initCondition(this.condition, this.condition.selectAll);
this.selectDataCounts = 0; this.selectDataCounts = 0;