Skip to content

Commit ded3930

Browse files
说明文档更新
1 parent fddc91e commit ded3930

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

README.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -133,65 +133,65 @@
133133

134134
自定义的节点列表数据写在node_menu.vue文件中的menuList变量中
135135

136-
```json
136+
```js
137137
menuList: [
138138
{
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",
143143
children: [
144144
{
145-
id: '11',
145+
id: "11",
146146
level: "1-1",
147-
type: 'task1',
148-
name: '数据接入',
149-
ico: 'el-icon-time',
147+
type: "task1",
148+
name: "数据接入",
149+
ico: "el-icon-time",
150150
state: "success",
151151
// 自定义覆盖样式
152152
style: {
153-
'backgroundColor': 'red'
153+
"backgroundColor": "red"
154154
}
155155
}, {
156-
id: '12',
156+
id: "12",
157157
level: "1-2",
158-
type: 'task2',
159-
name: '接口调用',
160-
ico: 'el-icon-odometer',
158+
type: "task2",
159+
name: "接口调用",
160+
ico: "el-icon-odometer",
161161
state: "success",
162162
// 自定义覆盖样式
163163
style: {}
164164
}
165165
]
166166
},
167167
{
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",
172172
children: [
173173
{
174-
id: '21',
174+
id: "21",
175175
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",
179179
state: "success",
180180
// 自定义覆盖样式
181181
style: {}
182182
}, {
183-
id: '22',
183+
id: "22",
184184
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",
188188
state: "success",
189189
// 自定义覆盖样式
190190
style: {}
191191
}
192192
]
193193
}
194-
],
194+
]
195195
```
196196

197197
### menuList参数说明

0 commit comments

Comments
 (0)