fix(测试跟踪): 用例编辑页,点击版本置新,一直处于刷新状态
--bug=1028213 --user=陈建星 【测试跟踪】版本管理存在多个版本-创建功能用例-新建版本用例-置新 https://www.tapd.cn/55049933/s/1403647
This commit is contained in:
parent
c61ed4a46a
commit
ca20cdcbd3
|
@ -1619,7 +1619,11 @@ export default {
|
|||
};
|
||||
setLatestVersionById(param).then(() => {
|
||||
this.$success(this.$t("commons.modify_success"));
|
||||
this.checkoutByVersionId(version.id);
|
||||
if (version.id !== this.form.versionId) {
|
||||
this.checkoutByVersionId(version.id);
|
||||
} else {
|
||||
this.$refs.versionHistory.getVersionOptionList();
|
||||
}
|
||||
}).catch(() => {
|
||||
this.$refs.versionHistory.loading = false;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue