| | |
| | | <script lang="ts" setup> |
| | | import type { ModelCategoryInfo } from '#/api/bpm/model'; |
| | | |
| | | import { onActivated, reactive, ref, useTemplateRef, watch } from 'vue'; |
| | | import { onActivated, onMounted, reactive, ref, useTemplateRef, watch } from 'vue'; |
| | | |
| | | import { Page, useVbenModal } from '../../../packages/effects/common-ui/src'; |
| | | import { IconifyIcon } from '../../../packages/icons/src'; |
| | | import { cloneDeep } from '../../../packages/utils/src'; |
| | | import { Page, useVbenModal } from '@vben/common-ui'; |
| | | import { IconifyIcon } from '@vben/icons'; |
| | | import { cloneDeep } from '@vben/utils'; |
| | | |
| | | import { useSortable } from '@vueuse/integrations/useSortable'; |
| | | import { Button, Card, Dropdown, Input, Menu, message } from 'ant-design-vue'; |
| | |
| | | } |
| | | |
| | | /** 初始化 */ |
| | | onMounted(() => { |
| | | getList(); |
| | | }); |
| | | |
| | | /** 激活时刷新(keep-alive 缓存场景下从编辑页返回时触发) */ |
| | | onActivated(() => { |
| | | getList(); |
| | | }); |