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

DatePicker日期选择器在钉钉小程序中无法使用 #2180

Closed
Mxtzz opened this issue Mar 15, 2023 · 3 comments
Closed

DatePicker日期选择器在钉钉小程序中无法使用 #2180

Mxtzz opened this issue Mar 15, 2023 · 3 comments
Labels
duplicate 重复的 Issue

Comments

@Mxtzz
Copy link

Mxtzz commented Mar 15, 2023

NutUI scenes(nutui 场景)

小程序(@nutui/nutui-taro)

NutUI-vue version(nutui-vue 版本)

4.0.3

Vue version(vue 版本)

3.2.47

Operating environment(运行环境)

dev:tt

Citation method(引用方式)

npm

Node version(node 版本)

16.0.0

Browser and its version(浏览器及其版本)

钉钉小程序开发者工具 3.1.3

System and its version(系统及其版本)

Windows 11

Taro environmental information(taro 环境信息)

Taro v3.6.2

Taro CLI 3.6.2 environment info:
System:
OS: Windows 10
Binaries:
Node: 16.0.0 - C:\Users\mazw2\AppData\Local\Temp\yarn--1678845929062-0.24539505586514743\node.CMD
Yarn: 1.22.19 - C:\Users\mazw2\AppData\Local\Temp\yarn--1678845929062-0.24539505586514743\yarn.CMD
npm: 7.10.0 - C:\Program Files\nodejs\npm.CMD

Reproduction link(重现链接)

nutui.jd.com/taro/vue/4x/

Steps to reproduce(重现步骤)

钉钉小程序,使用官方文档DatePicker的Demo,无法设置默认日期,选择日期后控制台会报错。

What is expected?(期望的结果是什么?)

可以设置默认日期,可以选择日期。

What is actually happening?(实际的结果是什么?)

无法设置默认日期,选择日期后控制台会报错。

@LeeZChuan
Copy link

官方何时能解决,钉钉小程序的时间控件兼容问题呢?

@eiinu eiinu added this to the 4.0.6 milestone Apr 3, 2023
@eiinu eiinu removed this from the v4.0.6 milestone Apr 19, 2023
@eiinu
Copy link
Member

eiinu commented Apr 19, 2023

DatePicker 组件依赖于小程序端的原生 picker-view 组件。
测试发现,在 Taro + 钉钉小程序环境下,picker-view 的 onChange 事件会返回错误的结果(设置的是两列数据,但返回值为三列数据),从而造成后续操作出现异常,相关 issue:NervJS/taro#11367
需要进一步确认问题来源。

@eiinu eiinu added this to the v4.0.10 milestone Jun 14, 2023
@eiinu eiinu removed this from the v4.0.10 milestone Jul 11, 2023
@eiinu eiinu added the upstream 需要上游修复的,例如 Taro、各小程序平台等 label Jul 13, 2023
@eiinu
Copy link
Member

eiinu commented Mar 11, 2024

redirect to #2292

@eiinu eiinu closed this as completed Mar 11, 2024
@eiinu eiinu added duplicate 重复的 Issue and removed upstream 需要上游修复的,例如 Taro、各小程序平台等 labels Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate 重复的 Issue
Projects
None yet
Development

No branches or pull requests

3 participants