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 选择器 修改colums的值和绑定状态的值,picker选择器里选中状态不更新 #623

Open
chenweiming0109 opened this issue Sep 23, 2024 · 2 comments
Labels
🐞bug: need confirm 待确认的bug need reproduce 需要补充复现demo

Comments

@chenweiming0109
Copy link

Wot Design Uni 版本号

1.3.8

平台

微信小程序

复现Demo地址(如不提供,issue将被直接关闭)

暂无

重现步骤

<button @click='change'>切换
<wd-picker
:columns="timeList"
v-model="timeIntervalId"
use-default-slot
custom-class="wd-picker"
@confirm="handleTimeConfirm"
>

{{ timeIntervalName }}



const timeIntervalId = ref('')
const timeList = ref([])
const change = ()=>{
timeList.value = res.data
timeIntervalId.value = res.data[0].id
}

期望的结果是什么?

WechatIMG18

实际的结果是什么?

wd-picker 传进来的modelValue已经更新但是setShowValue好像不生效

环境信息

No response

其他补充信息

No response

@chenweiming0109 chenweiming0109 added the 🐞bug: need confirm 待确认的bug label Sep 23, 2024
@810505339
Copy link
Collaborator

可以提供一下demo复现地址吗?

@Moonofweisheng Moonofweisheng added the need reproduce 需要补充复现demo label Sep 29, 2024
Copy link

你好,@chenweiming0109

我们需要你提供一个最小重现demo,以便于我们帮你排查问题。你可以通过 fork wot-starter-retail 并添加相关复现逻辑来提供。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞bug: need confirm 待确认的bug need reproduce 需要补充复现demo
Projects
None yet
Development

No branches or pull requests

3 participants