|
@@ -321,7 +321,7 @@
|
|
}
|
|
}
|
|
return () => {
|
|
return () => {
|
|
const { title, helpMessage, toolbar, search, checkable } = props;
|
|
const { title, helpMessage, toolbar, search, checkable } = props;
|
|
- const showTitle = title || toolbar || search;
|
|
|
|
|
|
+ const showTitle = title || toolbar || search || slots.headerTitle;
|
|
const scrollStyle: CSSProperties = { height: 'calc(100% - 38px)' };
|
|
const scrollStyle: CSSProperties = { height: 'calc(100% - 38px)' };
|
|
return (
|
|
return (
|
|
<div class={[prefixCls, 'h-full bg-white', attrs.class]}>
|
|
<div class={[prefixCls, 'h-full bg-white', attrs.class]}>
|
|
@@ -336,7 +336,9 @@
|
|
helpMessage={helpMessage}
|
|
helpMessage={helpMessage}
|
|
onStrictlyChange={onStrictlyChange}
|
|
onStrictlyChange={onStrictlyChange}
|
|
onSearch={handleSearch}
|
|
onSearch={handleSearch}
|
|
- />
|
|
|
|
|
|
+ >
|
|
|
|
+ {extendSlots(slots)}
|
|
|
|
+ </TreeHeader>
|
|
)}
|
|
)}
|
|
<ScrollContainer style={scrollStyle} v-show={!unref(getNotFound)}>
|
|
<ScrollContainer style={scrollStyle} v-show={!unref(getNotFound)}>
|
|
<Tree {...unref(getBindValues)} showIcon={false}>
|
|
<Tree {...unref(getBindValues)} showIcon={false}>
|