fix(性能测试): 修复删除测试选择当前版本失败的问题

--bug=1018799 --user=刘瑞斌 【性能测试】性能测试-用例有多个版本,用例列表中删除该用例当前版本失败 https://www.tapd.cn/55049933/s/1275838
This commit is contained in:
CaptainB 2022-10-25 10:28:18 +08:00 committed by 刘瑞斌
parent 90302ad9aa
commit a58b78b9d8
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ export default {
}, },
_handleDelete(test, deleteCurrentVersion) { _handleDelete(test, deleteCurrentVersion) {
if (deleteCurrentVersion) { if (deleteCurrentVersion) {
deleteCurrentVersionTest() deleteCurrentVersionTest(test)
.then(() => { .then(() => {
this.$success(this.$t('commons.delete_success')); this.$success(this.$t('commons.delete_success'));
this.initTableData(); this.initTableData();