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

slot="left" 居左问题 #55

Open
Ronald9 opened this issue Aug 13, 2021 · 0 comments
Open

slot="left" 居左问题 #55

Ronald9 opened this issue Aug 13, 2021 · 0 comments

Comments

@Ronald9
Copy link

Ronald9 commented Aug 13, 2021

情况1:显示正常

<navBar back="{{false}}" home="{{false}}">
    <view slot="left">居左文字</view>
</navBar>

情况2:显示正常

<navBar back="{{true}}" home="{{false}}">
    <view slot="left">居左文字</view>
</navBar>

情况3:无法显示居左文字

<navBar back="{{false}}" home="{{true}}">
    <view slot="left">居左文字</view>
</navBar>

情况4:无法显示居左文字

<navBar back="{{true}}" home="{{true}}">
    <view slot="left">居左文字</view>
</navBar>

另外,如果 slot="left“ 中的文字超过2个汉字或4个英文字符,就会换行。

期望:
1、能正常显示 slot="left" 的文字
2、文字超过2个汉字或4个英文时,能在一行显示。

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

No branches or pull requests

1 participant