fix(测试跟踪): 脑图选中模块后切换到其他项目仍显示上个项目的脑图
--bug=1013084 --user=陈建星 【测试跟踪】github#13426 选中子模块脑图后,切换到其他项目,仍显示上个项目脑图名称 https://www.tapd.cn/55049933/s/1156721
This commit is contained in:
parent
9283ca5123
commit
10459595a3
|
@ -127,6 +127,8 @@ export default {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
this.$store.commit('setTestCaseSelectNode', {});
|
||||||
|
this.$store.commit('setTestCaseSelectNodeIds', []);
|
||||||
this.list();
|
this.list();
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
|
@ -101,6 +101,7 @@ export default {
|
||||||
'planStatus'
|
'planStatus'
|
||||||
],
|
],
|
||||||
mounted() {
|
mounted() {
|
||||||
|
this.$store.commit('setTestPlanViewSelectNode', {});
|
||||||
this.initData();
|
this.initData();
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
|
@ -101,10 +101,12 @@ export default {
|
||||||
'versionEnable',
|
'versionEnable',
|
||||||
],
|
],
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getNodeTreeByReviewId()
|
this.$store.commit('setTestReviewSelectNode', {});
|
||||||
|
this.$store.commit('setTestReviewSelectNodeIds', []);
|
||||||
|
this.getNodeTreeByReviewId();
|
||||||
},
|
},
|
||||||
activated() {
|
activated() {
|
||||||
this.getNodeTreeByReviewId()
|
this.getNodeTreeByReviewId();
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
reviewId() {
|
reviewId() {
|
||||||
|
|
Loading…
Reference in New Issue