fix(layout-sider): support layout-sider trigger slot (#5317)

* fix(layout-sider): support layout-sider trigger slot

* fix: sider trigger support slot

Co-authored-by: huangchengjie <huangchengjie@dm-ai.com>
Co-authored-by: tangjinzhou <415800467@qq.com>
pull/4696/head
KaygNas 2022-03-12 10:05:33 +08:00 committed by GitHub
parent 87a0cd5a00
commit fe4c3e60bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ export default defineComponent({
width,
reverseArrow,
zeroWidthTriggerStyle,
trigger,
trigger = slots.trigger?.(),
collapsible,
theme,
} = props;