| | |
| | | <script setup lang="tsx"> |
| | | import type { DataTableColumns } from 'naive-ui' |
| | | import { NButton, NSpace, NTooltip } from 'naive-ui' |
| | | import { computed, onMounted, ref } from 'vue' |
| | | import { computed, onActivated, onMounted, ref } from 'vue' |
| | | import { useRouter } from 'vue-router' |
| | | import OperationLogModal from '@/components/custom/OperationLogModal.vue' |
| | | import Pagination from '@/components/common/Pagination.vue' |
| | |
| | | onMounted(() => { |
| | | getList() |
| | | }) |
| | | |
| | | onActivated(() => { |
| | | if (window.sessionStorage.getItem('testPlanListNeedRefresh') === '1') { |
| | | window.sessionStorage.removeItem('testPlanListNeedRefresh') |
| | | getList() |
| | | } |
| | | }) |
| | | </script> |
| | | |
| | | <template> |