fix(功能用例):功能用例编辑后用例步骤未更新

--bug=1010011 --user=李敏 【测试跟踪】github#9987,用例变更之后返回列表预览还是老的内容,列表没有及时刷新 https://www.tapd.cn/55049933/s/1106397
This commit is contained in:
limin-fit2 2022-02-21 11:04:22 +08:00 committed by jianxing
parent 5feeede4eb
commit 6bacbbaee5
1 changed files with 0 additions and 8 deletions

View File

@ -850,14 +850,6 @@ export default {
getCase(id) {
this.$refs.testCasePreview.open();
this.rowCaseResult.loading = true;
if (this.rowCase && this.rowCase.id === id) {
this.$refs.testCasePreview.setData(this.rowCase);
this.rowCaseResult.loading = false;
return;
} else {
this.rowCase = {};
this.$refs.testCasePreview.setData({});
}
this.rowCaseResult = this.$get('test/case/get/step/' + id, response => {
this.rowCase = response.data;