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

[t-calendar] 开发者工具上一切正常,预览的时候没法选择时间 #2474

Open
WaliAblikim opened this issue Dec 5, 2023 · 6 comments
Labels
question This is a question, not a bug

Comments

@WaliAblikim
Copy link

WaliAblikim commented Dec 5, 2023

tdesign-miniprogram 版本

"tdesign-miniprogram": "^1.2.4"

重现链接

https://github.com/WaliAblikim/Tdesign-miniprogram

重现步骤

1.点击预览
2.用手机微信扫码
3.查看结果

期望结果

开发者工具上的和 手机微信预览的效果一样

实际结果

开发者工具上正常,手机微信上没法选择日期

基础库版本

3.2.1

补充说明

只是个简单的表单页,没有啥业务场景

Copy link
Contributor

github-actions bot commented Dec 5, 2023

👋 @WaliAblikim,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@betavs
Copy link
Collaborator

betavs commented Dec 5, 2023

  onLoad(options) {
    let opt = JSON.parse(options.det); //传过来的参数进行处理
    this.setData({
      titleInfo: opt,
    });
  },

估计这个有问题

@betavs betavs added the question This is a question, not a bug label Dec 5, 2023
@WaliAblikim
Copy link
Author

  onLoad(options) {
    let opt = JSON.parse(options.det); //传过来的参数进行处理
    this.setData({
      titleInfo: opt,
    });
  },

估计这个有问题
这个只是带参数跳转,跟组件的属性和方法没关系的,我现在换了t-date-time-picker 这个组件都正常了。

@betavs
Copy link
Collaborator

betavs commented Dec 5, 2023

使用你目前提供的代码无法复现,能否提供完整的复现例子

@WaliAblikim
Copy link
Author

不好意思这个是公司的项目,我把能发的代码都发了

@betavs
Copy link
Collaborator

betavs commented Dec 5, 2023

目前确实无法复现,你可以看看真机调试模式下,控制台是否有报错信息

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is a question, not a bug
Projects
None yet
Development

No branches or pull requests

2 participants