File tree Expand file tree Collapse file tree 1 file changed +27
-27
lines changed Expand file tree Collapse file tree 1 file changed +27
-27
lines changed Original file line number Diff line number Diff line change 133
133
134
134
自定义的节点列表数据写在node_menu.vue文件中的menuList变量中
135
135
136
- ``` json
136
+ ``` js
137
137
menuList: [
138
138
{
139
- id: '1' ,
140
- type: ' group' ,
141
- name: ' 接口节点' ,
142
- ico: ' el-icon-video-play' ,
139
+ id: " 1 " ,
140
+ type: " group" ,
141
+ name: " 接口节点" ,
142
+ ico: " el-icon-video-play" ,
143
143
children: [
144
144
{
145
- id: '11' ,
145
+ id: " 11 " ,
146
146
level: " 1-1" ,
147
- type: ' task1' ,
148
- name: ' 数据接入' ,
149
- ico: ' el-icon-time' ,
147
+ type: " task1" ,
148
+ name: " 数据接入" ,
149
+ ico: " el-icon-time" ,
150
150
state: " success" ,
151
151
// 自定义覆盖样式
152
152
style: {
153
- ' backgroundColor': ' red'
153
+ " backgroundColor" : " red"
154
154
}
155
155
}, {
156
- id: '12' ,
156
+ id: " 12 " ,
157
157
level: " 1-2" ,
158
- type: ' task2' ,
159
- name: ' 接口调用' ,
160
- ico: ' el-icon-odometer' ,
158
+ type: " task2" ,
159
+ name: " 接口调用" ,
160
+ ico: " el-icon-odometer" ,
161
161
state: " success" ,
162
162
// 自定义覆盖样式
163
163
style: {}
164
164
}
165
165
]
166
166
},
167
167
{
168
- id: '2' ,
169
- type: ' group' ,
170
- name: ' 工具节点' ,
171
- ico: ' el-icon-video-pause' ,
168
+ id: " 2 " ,
169
+ type: " group" ,
170
+ name: " 工具节点" ,
171
+ ico: " el-icon-video-pause" ,
172
172
children: [
173
173
{
174
- id: '21' ,
174
+ id: " 21 " ,
175
175
level: " 2-1" ,
176
- type: ' end' ,
177
- name: ' 流程结束' ,
178
- ico: ' el-icon-caret-right' ,
176
+ type: " end" ,
177
+ name: " 流程结束" ,
178
+ ico: " el-icon-caret-right" ,
179
179
state: " success" ,
180
180
// 自定义覆盖样式
181
181
style: {}
182
182
}, {
183
- id: '22' ,
183
+ id: " 22 " ,
184
184
level: " 2-2" ,
185
- type: ' over' ,
186
- name: ' 数据重置' ,
187
- ico: ' el-icon-shopping-cart-full' ,
185
+ type: " over" ,
186
+ name: " 数据重置" ,
187
+ ico: " el-icon-shopping-cart-full" ,
188
188
state: " success" ,
189
189
// 自定义覆盖样式
190
190
style: {}
191
191
}
192
192
]
193
193
}
194
- ],
194
+ ]
195
195
```
196
196
197
197
### menuList参数说明
You can’t perform that action at this time.
0 commit comments