fix(测试跟踪): 功能用例评论版本切换不更新的问题

This commit is contained in:
zhangdahai112 2022-01-16 01:31:15 +08:00 committed by zhangdahai112
parent b95e09db5b
commit 1a4c5f346c
1 changed files with 2 additions and 2 deletions

View File

@ -383,8 +383,7 @@ export default {
mounted() { mounted() {
this.getSelectOptions(); this.getSelectOptions();
if (this.type === 'edit' || this.type === 'copy') { if (this.type === 'edit' || this.type === 'copy') {
this.open(this.currentTestCaseInfo) this.open(this.currentTestCaseInfo);
this.getComments(this.currentTestCaseInfo)
} }
// Cascader : input // Cascader : input
setInterval(function () { setInterval(function () {
@ -625,6 +624,7 @@ export default {
if (callback) { if (callback) {
callback(); callback();
} }
this.getComments(this.currentTestCaseInfo);
}, },
handlePre() { handlePre() {
this.index--; this.index--;