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