fix: 测试用例执行步骤删除逻辑

This commit is contained in:
chenjianxing 2020-07-30 18:44:50 +08:00
parent f591f5d9c6
commit 049c7f06a4
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@
icon="el-icon-delete"
circle size="mini"
@click="handleDeleteStep(scope.$index, scope.row)"
:disabled="readOnly || scope.$index == 0 ? true : false"></el-button>
:disabled="readOnly || (scope.$index == 0 && form.steps.length <= 1)"></el-button>
</template>
</el-table-column>
</el-table>