fix(测试计划): 修改测试计划功能用例详情缺陷数无法及时更新问题

This commit is contained in:
xinxin.wu 2024-05-17 18:43:41 +08:00 committed by 刘瑞斌
parent 23bd688aca
commit f43e7a96d3
1 changed files with 10 additions and 0 deletions

View File

@ -195,6 +195,7 @@
import { Message } from '@arco-design/web-vue'; import { Message } from '@arco-design/web-vue';
import dayjs from 'dayjs'; import dayjs from 'dayjs';
import MsButton from '@/components/pure/ms-button/index.vue';
import MsCard from '@/components/pure/ms-card/index.vue'; import MsCard from '@/components/pure/ms-card/index.vue';
import MsDescription, { Description } from '@/components/pure/ms-description/index.vue'; import MsDescription, { Description } from '@/components/pure/ms-description/index.vue';
import MsEmpty from '@/components/pure/ms-empty/index.vue'; import MsEmpty from '@/components/pure/ms-empty/index.vue';
@ -557,6 +558,15 @@
initBugList(); initBugList();
await loadCase(); await loadCase();
}); });
watch(
() => activeTab.value,
(val) => {
if (val === 'detail') {
getBugTotal();
}
}
);
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>