fix(缺陷管理): 详情切换上一条下一条未刷新TAB页数据

--bug=1036421 --user=宋昌昌 【缺陷管理】查看缺陷详情-查看评论tab页后切换下一条或上一条,评论内容不更新 https://www.tapd.cn/55049933/s/1469234
This commit is contained in:
song-cc-rock 2024-03-05 11:29:22 +08:00 committed by 刘瑞斌
parent 1665206b38
commit 3a30eec2a9
2 changed files with 35 additions and 27 deletions

View File

@ -39,9 +39,9 @@
/> />
<template #title> <template #title>
<div class="w-[300px]"> {{ t('bugManagement.detail.isPlanRelateCaseTip1') }} </div> <div class="w-[300px]"> {{ t('bugManagement.detail.isPlanRelateCaseTip1') }} </div>
<br> <br />
<div class="w-[300px]"> {{ t('bugManagement.detail.isPlanRelateCaseTip2') }} </div> <div class="w-[300px]"> {{ t('bugManagement.detail.isPlanRelateCaseTip2') }} </div>
<br> <br />
<div class="w-[300px]"> {{ t('bugManagement.detail.isPlanRelateCaseTip3') }} </div> <div class="w-[300px]"> {{ t('bugManagement.detail.isPlanRelateCaseTip3') }} </div>
</template> </template>
</a-popover> </a-popover>
@ -282,6 +282,10 @@ const appStore = useAppStore();
getEnabledModules(); getEnabledModules();
getFetch(); getFetch();
}); });
watchEffect(() => {
getFetch();
});
</script> </script>
<style scoped></style> <style scoped></style>

View File

@ -78,6 +78,10 @@
defineExpose({ defineExpose({
initData, initData,
}); });
watchEffect(() => {
initData(props.bugId);
});
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>