Tencent / Tencent/tdesign-miniprogram

[calendar] 渲染超过1年的数据,在真机上10s以上才能展示出日历,性能非常差

Open
#2,828 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

need confirm
Dominant language
Vue
Stars
1.8k
Forks
337
Avg merge
1d 21h
Merged PRs (30d)
19

Description

tdesign-miniprogram 版本

1.4.0

重现链接

No response

重现步骤
minDate:  +dayjs().add(-1,"year"),
maxDate: +dayjs(),
期望结果

性能正常渲染,秒出,

实际结果

特别慢,展示需要等10s以上,根本无法使用,

基础库版本

No response

补充说明

真机,

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue identifies the calendar component and a minDate/maxDate configuration spanning one year. Start by reproducing the delay on a real device with tdesign-miniprogram 1.4.0, then trace calendar rendering for that range. Done means the calendar renders promptly instead of taking more than 10 seconds.

Written by the indexing model from the issue text.

Assessment

Domain
frontend, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.