统一组件slot的使用方式
This commit is contained in:
@@ -2750,7 +2750,7 @@ const handleAddSuccessor = (task: Task) => {
|
||||
@add-successor="handleAddSuccessor"
|
||||
@delete="handleTaskDelete"
|
||||
>
|
||||
<template v-if="$slots['custom-task-content']" #content="barScope">
|
||||
<template v-if="$slots['custom-task-content']" #custom-task-content="barScope">
|
||||
<slot name="custom-task-content" v-bind="barScope" />
|
||||
</template>
|
||||
</TaskBar>
|
||||
|
||||
Reference in New Issue
Block a user