fix(测试跟踪): 已归档计划脑图无弹窗
--user=郭雨琦 --bug=1013105 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001013105
This commit is contained in:
parent
fb4c1c10e4
commit
a1be30aef8
|
@ -563,8 +563,12 @@ export function handleMinderIssueDelete(commandName, isPlan) {
|
|||
export function openMinderConfirm(vueObj, activeDom) {
|
||||
let isTestCaseMinderChanged = vueObj.$store.state.isTestCaseMinderChanged;
|
||||
if (vueObj.activeDom !== 'left' && activeDom === 'left' && isTestCaseMinderChanged) {
|
||||
if (vueObj.planStatus !=='Archived') {
|
||||
vueObj.$refs.isChangeConfirm.open();
|
||||
vueObj.tmpActiveDom = activeDom;
|
||||
} else {
|
||||
vueObj.activeDom = activeDom;
|
||||
}
|
||||
return;
|
||||
}
|
||||
vueObj.activeDom = activeDom;
|
||||
|
|
|
@ -177,10 +177,14 @@ export default {
|
|||
handleSelect(key) {
|
||||
let isTestCaseMinderChanged = this.$store.state.isTestCaseMinderChanged;
|
||||
if (key !== 'functional' && isTestCaseMinderChanged) {
|
||||
if (this.currentPlan.status === 'Archived') {
|
||||
this.activeIndex = key;
|
||||
} else {
|
||||
this.$refs.isChangeConfirm.open();
|
||||
this.tmpActiveIndex = key;
|
||||
return;
|
||||
}
|
||||
}
|
||||
this.activeIndex = key;
|
||||
},
|
||||
changeConfirm(isSave) {
|
||||
|
|
Loading…
Reference in New Issue