mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-04 21:28:00 +08:00
[Fix][UI Next][V1.0.0-Alpha] Fix the DATA_QUALITY icon is null. (#8822)
This commit is contained in:
parent
939f280e71
commit
a9c9eb00d0
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.0 KiB |
@ -20,7 +20,7 @@ import {
|
||||
TaskType,
|
||||
TASK_TYPES_MAP
|
||||
} from '@/views/projects/task/constants/task-type'
|
||||
import Styles from './dag.module.scss'
|
||||
import styles from './dag.module.scss'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'workflow-dag-sidebar',
|
||||
@ -32,10 +32,10 @@ export default defineComponent({
|
||||
}))
|
||||
|
||||
return () => (
|
||||
<div class={Styles.sidebar}>
|
||||
<div class={styles.sidebar}>
|
||||
{allTaskTypes.map((task) => (
|
||||
<div
|
||||
class={Styles.draggable}
|
||||
class={styles.draggable}
|
||||
draggable='true'
|
||||
onDragstart={(e) => {
|
||||
context.emit('dragStart', e, task.type as TaskType)
|
||||
@ -43,10 +43,10 @@ export default defineComponent({
|
||||
>
|
||||
<em
|
||||
class={[
|
||||
Styles['sidebar-icon'],
|
||||
Styles['icon-' + task.type.toLocaleLowerCase()]
|
||||
styles['sidebar-icon'],
|
||||
styles['icon-' + task.type.toLocaleLowerCase()]
|
||||
]}
|
||||
></em>
|
||||
/>
|
||||
<span>{task.alias}</span>
|
||||
</div>
|
||||
))}
|
||||
|
@ -107,6 +107,9 @@ $bgLight: #ffffff;
|
||||
&.icon-sub_process {
|
||||
background-image: url('@/assets/images/task-icons/sub_process.png');
|
||||
}
|
||||
&.icon-data_quality {
|
||||
background-image: url('@/assets/images/task-icons/data_quality.png');
|
||||
}
|
||||
&.icon-procedure {
|
||||
background-image: url('@/assets/images/task-icons/procedure.png');
|
||||
}
|
||||
@ -162,6 +165,9 @@ $bgLight: #ffffff;
|
||||
&.icon-sub_process {
|
||||
background-image: url('@/assets/images/task-icons/sub_process_hover.png');
|
||||
}
|
||||
&.icon-data_quality {
|
||||
background-image: url('@/assets/images/task-icons/data_quality_hover.png');
|
||||
}
|
||||
&.icon-procedure {
|
||||
background-image: url('@/assets/images/task-icons/procedure_hover.png');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user