Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Cascader): fix title slot inoperative #5676

Merged
merged 2 commits into from
Jan 15, 2024

Conversation

johnsonwong666
Copy link
Collaborator

@@ -1,7 +1,8 @@
<wxs src="./index.wxs" module="utils" />

<view wx:if="{{ showHeader }}" class="van-cascader__header">
<text class="van-cascader__title"><slot name="title"></slot>{{ title }}</text>
<slot name="title" wx:if="{{useTitleSlot}}"></slot>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{{ }} 前后有空格,格式和其他的要注意统一

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已调整

@landluck landluck changed the title fix(Cascader): change slot fix(Cascader): fix title slot inoperative Jan 15, 2024
@landluck landluck merged commit 628008e into youzan:dev Jan 15, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants