fix: In workflow applications, the display of custom icons for sub applications and tools in the box below the variable selection is incorrect (#4168)
parent
f59648b817
commit
6faa72d0b7
|
|
@ -10,9 +10,12 @@
|
||||||
>
|
>
|
||||||
<template #default="{ node, data }">
|
<template #default="{ node, data }">
|
||||||
<span class="flex align-center" @wheel="wheel">
|
<span class="flex align-center" @wheel="wheel">
|
||||||
<component :is="iconComponent(`${data.type}-icon`)" class="mr-8" :size="18" />{{
|
<component
|
||||||
data.label
|
:is="iconComponent(`${data.type}-icon`)"
|
||||||
}}</span
|
class="mr-8"
|
||||||
|
:size="18"
|
||||||
|
:item="data"
|
||||||
|
/>{{ data.label }}</span
|
||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
</el-cascader>
|
</el-cascader>
|
||||||
|
|
|
||||||
|
|
@ -75,6 +75,7 @@ class AppNode extends HtmlResize.view {
|
||||||
}
|
}
|
||||||
result.push({
|
result.push({
|
||||||
value: this.props.model.id,
|
value: this.props.model.id,
|
||||||
|
icon: this.props.model.properties.node_data?.icon,
|
||||||
label: this.props.model.properties.stepName,
|
label: this.props.model.properties.stepName,
|
||||||
type: this.props.model.type,
|
type: this.props.model.type,
|
||||||
children: this.props.model.properties?.config?.fields || [],
|
children: this.props.model.properties?.config?.fields || [],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue