1
2
3
4
5
6
7
8
9
10
11
12
13
| <template>
| <SimpleProcessDesigner :model-id="modelId" />
| </template>
| <script setup lang="ts">
| import { SimpleProcessDesigner } from '@/components/SimpleProcessDesignerV2/src/'
|
| defineOptions({
| name: 'SimpleWorkflowDesignEditor'
| })
| const { query } = useRoute() // 路由的查询
| const modelId = query.modelId as string
| </script>
| <style lang="scss" scoped></style>
|
|