fix(缺陷管理): 缺陷详情TAB页切换有误
--bug=1036424 --user=宋昌昌 【缺陷管理】查看缺陷详情时切换tab页,关闭后再次打开其他缺陷记录了上次查看的tab页 https://www.tapd.cn/55049933/s/1468384
This commit is contained in:
parent
7ab4d8579f
commit
dd4ff46fd4
|
@ -421,7 +421,7 @@
|
||||||
replyUser: '',
|
replyUser: '',
|
||||||
parentId: '',
|
parentId: '',
|
||||||
content: currentContent,
|
content: currentContent,
|
||||||
event: notifiers ? 'AT' : 'COMMENT', // 任务事件(仅评论: ’COMMENT‘; 评论并@: ’AT‘; 回复评论/回复并@: ’REPLAY‘;)
|
event: notifiers ? 'AT' : 'COMMENT', // 任务事件(仅评论: ’COMMENT‘; 评论并@: ’AT‘; 回复评论/回复并@: ’REPLY‘;)
|
||||||
};
|
};
|
||||||
await createOrUpdateComment(params as CommentParams);
|
await createOrUpdateComment(params as CommentParams);
|
||||||
Message.success(t('common.publishSuccessfully'));
|
Message.success(t('common.publishSuccessfully'));
|
||||||
|
@ -431,6 +431,14 @@
|
||||||
console.log(error);
|
console.log(error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
watch(
|
||||||
|
() => showDrawerVisible.value,
|
||||||
|
(val) => {
|
||||||
|
if (val) {
|
||||||
|
activeTab.value = 'detail';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
|
|
Loading…
Reference in New Issue