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

Picker组件cancelText及confirmText无法使用的问题 #55

Closed
su797 opened this issue Nov 22, 2021 · 1 comment
Closed

Picker组件cancelText及confirmText无法使用的问题 #55

su797 opened this issue Nov 22, 2021 · 1 comment

Comments

@su797
Copy link

su797 commented Nov 22, 2021

版本:2.X
组件路径:uview-ui/components/u-picker.vue
u-toolbar中没有添加
:cancelText="cancelText" :confirmText="confirmText"
属性,导致设置cancelText和confirmText时无法更改对应文字
image

改为
<u-toolbar v-if="showToolbar" :cancelColor="cancelColor" :confirmColor="confirmColor" :cancelText="cancelText" :confirmText="confirmText" :title="title" @cancel="cancel" @confirm="confirm" ></u-toolbar>
后,可正常设置
image

@BeiQiaoT
Copy link
Member

已经修复,拉取最新的代码

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

2 participants