fix(功能用例):功能用例编辑后用例步骤未更新
--bug=1010011 --user=李敏 【测试跟踪】github#9987,用例变更之后返回列表预览还是老的内容,列表没有及时刷新 https://www.tapd.cn/55049933/s/1106397
This commit is contained in:
parent
ad1650a8bc
commit
847181bf9c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue