This commit is contained in:
2025-03-19 09:13:43 +08:00
parent e1fe9b3a63
commit a819999ca2
2 changed files with 2 additions and 2 deletions

View File

@@ -155,11 +155,11 @@ export default {
methods: { methods: {
handleRun(id) { handleRun(id) {
this.$modal.confirm('是否确认执行用例?').then(function () { this.$modal.confirm('是否确认执行用例?').then(function () {
this.open = true;
return runCase(id); return runCase(id);
}).then(() => { }).then(() => {
this.$modal.msgSuccess("执行成功"); this.$modal.msgSuccess("执行成功");
this.caseSID = res.msg this.caseSID = res.msg
this.open = true;
}); });
}, },
// 拖拽结束后更新排序值 // 拖拽结束后更新排序值

View File

@@ -90,11 +90,11 @@ export default {
}, },
handleRun(id) { handleRun(id) {
this.$modal.confirm('是否确认执行用例?').then(function () { this.$modal.confirm('是否确认执行用例?').then(function () {
this.open = true;
return runCase(id); return runCase(id);
}).then((res) => { }).then((res) => {
this.$modal.msgSuccess("执行成功"); this.$modal.msgSuccess("执行成功");
this.caseSID = res.msg this.caseSID = res.msg
this.open = true;
}); });
}, },
handleRowClick(row) { handleRowClick(row) {