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日期选择器,无法选择/无法设定默认值 #2292

Open
dadademo opened this issue May 16, 2023 · 2 comments
Labels
alipay reproducible 提供了可复现代码,或者已验证可复现 upstream 需要上游修复的,例如 Taro、各小程序平台等

Comments

@dadademo
Copy link

NutUI scenes(nutui 场景)

小程序(@nutui/nutui-taro)

NutUI-vue version(nutui-vue 版本)

4.0.4

Vue version(vue 版本)

3.2.40

Operating environment(运行环境)

dev:alipay

Citation method(引用方式)

npm

Node version(node 版本)

v16.20.0

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

支付宝小程序开发者工具

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

win11/win10

Taro environmental information(taro 环境信息)

Taro CLI 3.6.6 environment info:   
    System:     
      OS: Windows 10 10.0.18363    
    Binaries:  
      Node: 16.20.0 - ~\scoop\apps\nvm\current\nodejs\nodejs\node.EXE     
      npm: 8.19.4 - ~\scoop\apps\nvm\current\nodejs\nodejs\npm.CMD     
    npmPackages:    
      @tarojs/cli: 3.6.6 => 3.6.6    
      @tarojs/components: 3.6.6 => 3.6.6    
      @tarojs/helper: 3.6.6 => 3.6.6    
      @tarojs/plugin-framework-vue3: 3.6.6 => 3.6.6  
      @tarojs/plugin-html: 3.6.6 => 3.6.6  
      @tarojs/plugin-platform-alipay: 3.6.6 => 3.6.6  
      @tarojs/plugin-platform-h5: 3.6.6 => 3.6.6   
      @tarojs/plugin-platform-jd: 3.6.6 => 3.6.6   
      @tarojs/plugin-platform-qq: 3.6.6 => 3.6.6   
      @tarojs/plugin-platform-swan: 3.6.6 => 3.6.6 
      @tarojs/plugin-platform-tt: 3.6.6 => 3.6.6  
      @tarojs/plugin-platform-weapp: 3.6.6 => 3.6.6    
      @tarojs/runtime: 3.6.6 => 3.6.6    
      @tarojs/shared: 3.6.6 => 3.6.6  
      @tarojs/taro: 3.6.6 => 3.6.6   
      @tarojs/webpack5-runner: 3.6.6 => 3.6.6    
      babel-preset-taro: 3.6.6 => 3.6.6    
      eslint-config-taro: 3.6.6 => 3.6.6      

Reproduction link(重现链接)

github.com

Steps to reproduce(重现步骤)

pnpm install
npm run dev:alipay

支付宝小程序开发者工具打开项目

  1. 点击选择日期

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

点击选择日期后DatePicker应展示默认时间,并可以选择

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

第一次点击选择日期后DatePicker可选项为空白,默认时间也为空白
第二次点击选择日期,可看到选择项,但选择后任意时间后关闭,再次打开,默认时间不正确

Remarks(补充说明)

使用脚手架 Vue3 + NutUI4.0 模板
pnpm 包管理工具
pages/index/index的代码也是从 https://nutui.jd.com/taro/vue/4x/#/zh-CN/component/datepicker (搭配 Popup 使用) 复制下来的

@eiinu eiinu added the alipay label May 17, 2023
@eiinu eiinu added the reproducible 提供了可复现代码,或者已验证可复现 label May 26, 2023
@eiinu eiinu added this to the v4.0.10 milestone Jun 14, 2023
@eiinu
Copy link
Member

eiinu commented Jun 14, 2023

关联 Issue:NervJS/taro#14020

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

等于目前在支付宝上还不能使用 DatePicker ?
Taro 那边的 issue, 他们并没有打算处理这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alipay reproducible 提供了可复现代码,或者已验证可复现 upstream 需要上游修复的,例如 Taro、各小程序平台等
Projects
None yet
Development

No branches or pull requests

3 participants