File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1010 >
1111 <template #default =" { node , data } " >
1212 <span class =" flex align-center" @wheel =" wheel" >
13- <component :is =" iconComponent(`${data.type}-icon`)" class =" mr-8" :size =" 18" />{{
14- data.label
15- }}</span
13+ <component
14+ :is =" iconComponent(`${data.type}-icon`)"
15+ class =" mr-8"
16+ :size =" 18"
17+ :item =" data"
18+ />{{ data.label }}</span
1619 >
1720 </template >
1821 </el-cascader >
Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ class AppNode extends HtmlResize.view {
7575 }
7676 result . push ( {
7777 value : this . props . model . id ,
78+ icon : this . props . model . properties . node_data ?. icon ,
7879 label : this . props . model . properties . stepName ,
7980 type : this . props . model . type ,
8081 children : this . props . model . properties ?. config ?. fields || [ ] ,
You can’t perform that action at this time.
0 commit comments