1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| <template>
| <div class="container">
| <!-- 引入index.vue组件并传递参数 -->
| <ApprovalProcessIndex :approveType="1" />
| </div>
| </template>
|
| <script setup>
| import ApprovalProcessIndex from './index.vue'
|
| // 定义组件名称
| defineOptions({
| name: 'ApprovalProcessIndex1'
| })
| </script>
|
| <style scoped>
| .container {
| width: 100%;
| height: 100%;
| }
| </style>
|
|