Tencent / Tencent/tdesign-miniprogram

[Cascader]正常使用报错 Cannot read property '0' of undefined

Open
#2,499 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

tdesign-miniprogram 版本

^1.2.5

重现链接
重现步骤

复制官网的案例代码

期望结果

正常显示

实际结果

image

基础库版本

No response

补充说明

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

Start by running the official Cascader example using the provided t-cascader markup, then reproduce the Cannot read property '0' of undefined error. Trace the error from that example to the Cascader implementation; done means the example displays normally without the reported error.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.