fix(测试跟踪): 公共用例库列表看不到最新添加的用例
--bug=1012439 --user=李玉号 【测试跟踪】公共用例库列表看不到最新添加的用例 https://www.tapd.cn/55049933/s/1140877
This commit is contained in:
parent
5dac719b2b
commit
4c6bad1263
|
@ -404,6 +404,13 @@ export default {
|
|||
this.tabs.push({label: label, name: name, testCaseInfo: tab.testCaseInfo});
|
||||
}
|
||||
|
||||
if (tab.name === 'public') {
|
||||
this.publicEnable = false;
|
||||
this.$nextTick(() => {
|
||||
this.publicEnable = true;
|
||||
})
|
||||
}
|
||||
|
||||
setCurTabId(this, tab, 'testCaseEdit');
|
||||
},
|
||||
addTabShow(tab) {
|
||||
|
@ -646,7 +653,10 @@ export default {
|
|||
},
|
||||
enablePublic(data) {
|
||||
this.initApiTableOpretion = "publicEnable";
|
||||
this.publicEnable = data;
|
||||
this.publicEnable = !data;
|
||||
this.$nextTick(() => {
|
||||
this.publicEnable = data;
|
||||
})
|
||||
},
|
||||
toPublic(data) {
|
||||
if (data === 'public') {
|
||||
|
|
Loading…
Reference in New Issue