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